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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment