Search Issue Tracker
By Design
By Design in 6000.0.X
Votes
0
Found in
2021.3.44f1
2022.3.47f1
6000.0.20f1
Issue ID
UUM-82600
Regression
No
AnalyticsSessionInfo.sessionFirstRun value is not affected when the corresponding data file is removed
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. In the Console Window, observe the “Call AnalyticsSessionInfo.sessionFirstRun” log’s returned value
5. Exit the Play Mode
6. Open a Finder Window
7. Remove the “~/Library/Preferences/com.DefaultCompany.sessionFirstRun.plist” file
8. Repeat the 3 - 4 steps
Expected result: The log returns “true”
Actual result: The log returns “false”
Reproducible with: 2021.3.44f1, 2022.3.47f1, 6000.0.20f1
Reproducible on: MacOS 14.6.1 (Intel)
Not reproducible on: Windows 10 (user’s)
Notes:
- Clearing “~/Library/Application Support/DefaultCompany/sessionFirstRun” does not yield the expected result as well
- Reproducible on a blank project
- Reproducible in MacOS Runtime
- The user stated:
on iOS devices clearing the application files is enough to get the expected result
deleting the registry entry on a Windows device is enough to get the expected result
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Deleting the backing plist file for PlayerPrefs is not a supported workflow.
As a workaround for resetting the session, use PlayerPrefs.DeleteKey("unity.player_sessionid");
Resolution Note (6000.0.X):
Deleting the backing plist file for PlayerPrefs is not a supported workflow.
As a workaround for resetting the session, use PlayerPrefs.DeleteKey("unity.player_sessionid");