Search Issue Tracker
By Design
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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
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");