# Unity 5.5 Cursor.SetCursor doesn't work in player

**URL:** <https://discussions.unity.com/t/unity-5-5-cursor-setcursor-doesnt-work-in-player/654448>\
**Category:** News & General Discussion\
**Created:** [February 5, 2017, 11:44pm UTC](https://discussions.unity.com/t/unity-5-5-cursor-setcursor-doesnt-work-in-player/654448 "2017-02-05T23:44:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilton](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/chilton/32/379199_2.png) [@chilton](https://discussions.unity.com/u/chilton)\
**Post date:** [February 5, 2017, 11:44pm UTC](https://discussions.unity.com/t/unity-5-5-cursor-setcursor-doesnt-work-in-player/654448/1 "2017-02-05T23:44:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chilton](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/chilton/32/379199_2.png) [@chilton](https://discussions.unity.com/u/chilton)\
**Post date:** [February 6, 2017, 1:25am UTC](https://discussions.unity.com/t/unity-5-5-cursor-setcursor-doesnt-work-in-player/654448/2 "2017-02-06T01:25:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![angrypenguin](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@angrypenguin](https://discussions.unity.com/u/angrypenguin)\
**Post date:** [February 6, 2017, 1:36am UTC](https://discussions.unity.com/t/unity-5-5-cursor-setcursor-doesnt-work-in-player/654448/3 "2017-02-06T01:36:00Z")

</div>

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