0 votes

Trying to put my 8 Direction character sprite sheet into the texture of my sprite node. The size of the png is 25,600 x 128 and contains 200 frames.

Following error shows in output:

drivers/png/imageloaderpng.cpp:76 - Condition "len < 4" is true. Returned: Ref()
scene/resources/texture.cpp:603 - Condition "img.isnull() || img->empty()" is true. Returned: ERRFILE_CORRUPT
Failed loading resource: res://.import/BarbRun8Dir.png-98bff2865ebfe06b4c0e8b4c38fabd92.stex.
Failed loading resource: res://PlayerTextures/BarbRun8Dir.png.

The file isnt corrupt as i can open and view in other programs.
Thanks for any feedback!

in Projects by (12 points)

1 Answer

0 votes

16384px is biggest in Nvidia graphics card can handle and some mobile devices might even be less.

Try chopping your image to 2048x128 and see if it solves the problem.

by (242 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories