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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Add comment