We are overriding the default windows cursor in our game, but have been noticing this behavior for a while.
The cursor change works 100% of the time when playing windowed mode.
The cursor change works 100% if you are playing in full screen at a monitors native resolution.
We are, however, encountering an issue when the user to change the resolution down from the native size. We maintain the native aspect ratio, but at smaller full-screen resolutions the cursor reverts to the native Windows cursor on the bottom and right hand sides of the screen. We were scratching our heads about this issue for a long while before I notice that this "boarder" where the mouse reverts seems to match the aspect ratio.
While I can not confirm this entirely, it appears that the cursor is reverting when it passes outside lower fullscreen resolution on the screen.
So, for example, please consider the following image.
![alt text][1]
The red area represents a native resolution of a 1920x1080 monitor. The game itself is running at 1600x900, a step below the full native resolution. Now, the blue area represents where the game's cursor renders correctly. However, when the mouse enters the red boarder, it reverts to the Window's default cursor.
Fun additional fact, the blue area in this example is 1600x900 of the monitors native 1920x1080.
So, yeah, has anyone else experienced this issue? If so, do you know a work around or a way to fix it? We are currently running in Unity 4.6.0.
[1]: /storage/temp/42280-export.png
↧