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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
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");