Invalid Texture used for cursor

Hello,

I get a warning of Unity for a Invalid Texture used for cursor, but the cursor works fine.

The warning is:

Invalid texture used for cursor - check importer settings or texture creation. Texture must be RGBA32, readable, have alphaIsTransparency enabled and have no mip chain.
UnityEngine.Cursor:SetCursor (UnityEngine.Texture2D,UnityEngine.Vector2,UnityEngine.CursorMode)
RPG.Control.PlayerController:SetCursor (RPG.Control.PlayerController/CursorType) (at Assets/Scripts/Control/PlayerController.cs:118)
RPG.Control.PlayerController:InteractWithMovement () (at Assets/Scripts/Control/PlayerController.cs:108)
RPG.Control.PlayerController:Update () (at Assets/Scripts/Control/PlayerController.cs:52)

&

Invalid texture used for cursor - check importer settings or texture creation. Texture must be RGBA32, readable, have alphaIsTransparency enabled and have no mip chain.
UnityEngine.Cursor:SetCursor (UnityEngine.Texture2D,UnityEngine.Vector2,UnityEngine.CursorMode)
RPG.Control.PlayerController:SetCursor (RPG.Control.PlayerController/CursorType) (at Assets/Scripts/Control/PlayerController.cs:118)
RPG.Control.PlayerController:InteractWithCombat () (at Assets/Scripts/Control/PlayerController.cs:88)
RPG.Control.PlayerController:Update () (at Assets/Scripts/Control/PlayerController.cs:51)

I did everything the same only i use Unity2021 and not 2018. Somebody a idea how to solve it?

See this post

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms