When I hide the cursor using Screen.showCursor = false, the cursor still shows while the mouse is on the right side of the game window. If I move the mouse back and forth it always appears slightly to the right of the middle of the screen and disappears when I move it back to the left side.
No further assignments to Screen.showCursor occur during that.
What is happening and how do I properly hide the cursor?
EDIT: I just realized it only happens while debugging in the Unity editor. If I run through a browser the cursor is hidden properly.
Not viable - I'm trying to hide the cursor while using mouse to drag objects around.
– Good-old-GrimThe problem could be the resolution. Is it possible that your selected resolution is less than the resolution you test/play the game at? [This][1] might help in figuring that out. [1]: http://answers.unity3d.com/questions/407357/play-at-specific-screen-resolution.html
– TehniqueNope - the resolution is the same 960x720 everywhere. However, turns out this only happens while debugging in Unity editor.
– Good-old-Grim