Search Issue Tracker
Fixed
Fixed in 2022.3.63f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0b1, 7000.0.0a28
Votes
0
Found in
2022.3.60f1
6000.0.44f1
6000.1.0b12
6000.2.0a7
Issue ID
UUM-100970
Regression
No
PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
How to reproduce:
1. Set up two monitors
2. Open the “ScreenManagerWindowPositionBug.zip“ project
3. In the Build Profiles, build the project
4. Run the built Player
5. Set the Player to fullscreen and switch the Player to display on a different monitor (can be changed in the running Player)
6. Click anywhere on the other monitor for the Player to minimize itself
7. Close the Player through the Taskbar
8. Run the Player again
9. Observe the Player
Expected result: The Player opens on the same monitor it was before closing it
Actual result: The Player opens on the default monitor
Reproducible in: 2022.3.0f1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: macOS 15.3.2, No other environment tested
Notes:
- After changing the Player settings, the Player might need to be restarted
- When testing on three monitors, the Player by default opened and yielded the actual results on the third monitor and not the first, as expected
- As shown by the reporter, the “Screenmanager Window Position X“ (and Y) are set to, what looks like, an int underflow when the application gets unfocused
- In version 6000.0.44f1 and later, after the PlayerPrefs get corrupted, the window also returns to being windowed
- On Macs, when a fullscreen Player gets unfocused, the Player does not minimize, thus making the issue not reproducible there
- Could not test in most <2022.3.0f1 versions, as the project just did not open
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
Add comment