• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ders power · Dec 17, 2015 at 05:30 PM · cursor-customization

Black square cursor

I have a problem with build. I Play on Unity no problem but when I build it it seem black square like this alt text

but my cursor is alt text

ekran-alıntısı.png (167.4 kB)
like.png (46.1 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ders power · Dec 17, 2015 at 03:05 PM 0
Share

this is my school project.

avatar image sleepandpancakes · Apr 22, 2017 at 12:38 AM 0
Share

is your cursor image uploaded correctly to this post? it's not showing the image for me

avatar image Andibleh · May 05, 2017 at 12:07 AM 0
Share

I have the exact same issue...wtf is going on????

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Jessespike · Dec 17, 2015 at 06:42 PM

Quoting Eric5h5:

Try setting the texture type to Cursor, and limiting the size to 32x32. I found that while setting the cursor in the player settings worked in the editor, it did not show up in a build. I worked around that by using Cursor.SetCursor in a script instead.

Unity Answers - Creating a custom cursor

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Shippety · Jul 04, 2016 at 04:53 AM 0
Share

Worked for me, thanks!

avatar image aibolith · Apr 22, 2017 at 12:28 AM 0
Share

Didn't work for me. In all windows builds any attempts to set a cursor end up in a black square. I set the image properites to "Cursor", limited its size by 32, set it in a script and in Player Settings - it's still a goddamn black cursor. Just like the default program icon I can't change as well.

avatar image
3

Answer by AlienPentiumX · Oct 16, 2017 at 10:12 AM

Go to project window and search your image. Click on it and go to inspector. Then, change texture type to cursor and click apply!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image reinfeldx · Nov 02, 2018 at 07:59 PM 0
Share

This works! Thanks!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cursor disappears when other windows are open 0 Answers

Cursor Won't Lock 0 Answers

Customized cursor : render after everything else 1 Answer

Have cursor appear with a different key press. 0 Answers

Possible to change size of cursor with Cursor.SetCursor? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges