Forum rules - please read before posting.

Invalid texture used for cursor

Hi, I changed Cursor rendering to hardware, but now when I click on some item in the inventory, cursor will change to "broken graphics" (like that, but 16x16: https://goo.gl/UkGScc). Same error message will show when I change base AC pointer cursor to my own cursor (I tried PNG, GIF, transparent/no transparent).

It works well with default AC cursors only.

Error message: Invalid texture used for cursor - check importer settings
UnityEngine.Cursor:SetCursor(Texture2D, Vector2, CursorMode)
AC.PlayerCursor:DrawIcon(Vector2, CursorIconBase, Boolean, Boolean) (at Assets/AdventureCreator/Scripts/Controls/PlayerCursor.cs:701)
AC.PlayerCursor:DrawIcon(CursorIconBase, Boolean, Boolean) (at Assets/AdventureCreator/Scripts/Controls/PlayerCursor.cs:718)
AC.PlayerCursor:DrawMainCursor() (at Assets/AdventureCreator/Scripts/Controls/PlayerCursor.cs:440)
AC.PlayerCursor:DrawCursor() (at Assets/AdventureCreator/Scripts/Controls/PlayerCursor.cs:338)
AC.PlayerCursor:UpdateCursor() (at Assets/AdventureCreator/Scripts/Controls/PlayerCursor.cs:157)
AC.StateHandler:Update() (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:283)

Does anybody know how to fix this?

Thanks,
Jakub

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.