Unity 5.5 Cursor.SetCursor doesn't work in player

Hi,

My code is thusly…
Cursor.SetCursor(shovelCursorTexture, shovelhotSpot, cursorMode);

This works great in the editor, and in play mode. When I make a Mac build in 5.5.1 though, it results in pixelated garbage for the cursor.

(I can’t get a screenshot because screenshots hide the cursor)

Suggestions?

Thank you!
-Chilton

I figured it out. You have to use the Legacy setting for the texture (and enable read/write) or it won’t work right, in the build.

-Chilton

3 Likes

It’s good of you to come back and share the solution. Thumbs up!