Hi!
I'm getting feedback that the cursor on my game is laggy. I tried switching cursor rendering form software to hardware which solves the lagging but if I understand correctly requires the cursor textures to be a maximum of 32 pixels?
Now I read on this forum that using software rendering shouldn't be a problem. Here's the thing. If I set the mouse speed (in Windows) to slow:
https://1drv.ms/u/s!Amz_vh8OYDX3u69A5eY6nlMGMRve3A
...everything still looks OK (no lag) when I play the game in the editor. But when I run a published build, the lag is very noticeable (more so the slower mouse speed I use). I would expect the opposite - build should be faster than in editor, but for some reason it isn't.
Any ideas?
Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hardware cursor sizes of 32x32 are a hardware limitation. The Software rendering mode uses Unity's own OnGUI code, so it's likely that differences between build/editor are Unity-related.
A third option, however, is to rely on Unity UI to draw the cursor - see the wiki script here.
Thanks