Search Issue Tracker
By Design
Votes
0
Found in
2020.3.44f1
2021.3.16f1
2022.1.24f1
2022.2.2f1
2023.1.0a25
Issue ID
UUM-26063
Regression
No
Cursor's static properties does not change when changing the Cursor's states
Reproduction steps:
1. Open the “New2022Project” project
2. Assign the “CursorLockOnly.cs” script to the “Main Camera” GameObject
3. Enter the Play Mode and observe labels in the top left corner
4. Press on the Game View
5. Press the “Esc” button on your keyboard
Expected results: Cursor’s static properties correspond to the actual the Cursor states
Actual results: Cursor’s static properties remain the same even if the Cursor’s states are changed
Reproducible with: 2020.3.44f1, 2021.3.16f1, 2022.1.24f1, 2022.2.2f1, 2023.1.0a25
Reproduced on: Intel MacOS 13.1
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
- Prefab's scripts are constantly reloaded when trying to enter multiple digits or characters into public fields on custom scripts consecutively
- Crash on mono_g_hash_table_find_slot when entering Play Mode
- [iOS] Crash when pressing "Done" on the keyboard layout
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
Resolution Note:
This behavior is by design. If Cursor.LockMode.Locked is used, the cursor is invisible regardless of its assigned state.
In the Editor, the cursor is automatically reset when escape is pressed, or on switching applications thereby disregarding Cursor.visible and Cursor.LockMode values.