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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment