Quantcast
Channel: Questions in topic: "lockcursor"
Viewing all articles
Browse latest Browse all 92

"Cursor.lockState = CursorLockMode.Locked" causes Unity to run in slow motion

$
0
0
When I move the mouse, it takes awhile for the affects of my movement to take effect, and it also makes the Unity editor unresponsive since it takes several extra seconds (increasingly longer the longer the game is left running), for Ctrl+Shift+P to stop the game. The code is located in the void Start() method in one of my scripts. Unity runs at normal speed if I comment this piece of code out.

Viewing all articles
Browse latest Browse all 92

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>