You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since UserDefaults hand builds the path to the local app data location, this location is incorrect if the USERNAME doesn't match the USERPROFILE location directory. This means that all UserDefaults writes will fail because the location on disk won't exist.
The text was updated successfully, but these errors were encountered:
stevenbrix
changed the title
UserDefaults doesn't work on Windows when USERNAME and UserDir don't match
UserDefaults doesn't work on Windows when USERNAME and USERPROFILE don't match
Jun 28, 2024
Since UserDefaults hand builds the path to the local app data location, this location is incorrect if the
USERNAME
doesn't match theUSERPROFILE
location directory. This means that allUserDefaults
writes will fail because the location on disk won't exist.The text was updated successfully, but these errors were encountered: