Hi! I just updated to the last AC Version, and all my animated cursors don't work anymore.
The console reads "Cannot read texture 'xyz' - it may need to be set to type 'Advanced' and have 'Read/Write Enabled' checked.
That setting is still applied though. The problem only persists in software cursor rendering mode.
What am I missing?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hi Chris,
I have reverted back to AC 1.85.5 for now, and that's fine — I just wanted to flag the problem anyway:
After updating to Adventure Creator 1.86.4, every animated cursor throws on draw and pauses the editor. Static (non-animated) cursors work fine. The problem is not tied to one texture — it affects all animated cursors.
Setup:
Two errors, fired every OnGUI frame:
Warning:
Cannot read texture 'Cursor-sheet' - it may need to be set to type 'Advanced' and have 'Read/Write Enabled' checked.
AC.CursorIconBase:GetAnimatedTexture (bool) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/CursorIcon.cs:577)
Exception:
IndexOutOfRangeException: Index was outside the bounds of the array.
AC.CursorIconBase.Draw (Vector2 centre, Boolean canAnimate) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/CursorIcon.cs:646)
AC.PlayerCursor.DrawIcon (...) (at .../PlayerCursor.cs:1006)
AC.PlayerCursor.DrawMainCursor () (at .../PlayerCursor.cs:681)
AC.PlayerCursor.DrawCursor () (at .../PlayerCursor.cs:585)
AC.StateHandler._OnGUI () (at .../StateHandler.cs:502)
What I have already ruled out:
Thanks for your work on AC!
Tilly
Thanks for the detailed report - I've managed to reproduce this and will investigate.
A fix for this will be included in 1.86.5.
Awesome, Chris! Thank you!