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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
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");