Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b1
Issue ID
629422
Regression
No
Problems with CursorLockMode.Confined in Editor
To reproduce:
1) Create new project
2) Add C# script which would have this in Start() function:
Cursor.lockState = CursorLockMode.Confined;
3) Make sure GameWindow is not set to Maximize on Play
4) Run it, notice that cursor locks in a window where most recent console message goes.
5) Stop running(with Ctrl+P) it
6) Make game window Maximize on Play and drag it somewhere else
7) Run it again
8) Notice that cursor now locks in the space where non-maximized Game Window was before running it and last drag
This issue does not happen in builds, only in Editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment