This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
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 Engine 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 (260 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 Frequently asked questions and 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 [email protected] with your username.