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
- [WebGPU] error with compute shader and read-only RWTexture
- Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
- Console displays "SerializedObjectNotCreatableException: Object at index 0 is null" error during Unity theme change while "Tile Palette" window is opened
- Details are not shown when Error Message is still selected after changing Log Entry Count in the Console
- Disabling Unity VCS in Project Settings unfocuses the Project Settings Window
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.