0 votes

When exporting my game, that has a lot of different animations in it, there are a few of them missing. When playing from the editor they are there, but when exporting them to HTML5 they aren't there (and you get an error message from the console), and when exporting to Mac OSX or Windows Desktop the program just crashes on opening it. All three missing animations are in the same AnimationPlayer, but there are also a lot of animations from that AnimationPlayer that are not missing. Is this an engine bug? Or did I screw something up, and if so where should I start looking to try to find the cause?

in Engine by (20 points)

What's the error message?

This shows up when first starting the game:

ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/DoubleJump.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/scene
formattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/Idle.tres
ERROR: At: core/io/resourceloader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/Jump.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/scene
formattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinAnimation/PTWalk.tres
ERROR: At: core/io/resourceloader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/DoubleJump.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: WARNING: Couldn't load external resource: res://PenguinMoves/DoubleJump.tres
ERROR: At: scene/resources/scene
formattext.cpp:174:parseextresource() - Couldn't load external resource: res://PenguinMoves/DoubleJump.tres
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/Idle.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: WARNING: Couldn't load external resource: res://PenguinMoves/Idle.tres
ERROR: At: scene/resources/scene
formattext.cpp:174:parseextresource() - Couldn't load external resource: res://PenguinMoves/Idle.tres
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinMoves/Jump.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: WARNING: Couldn't load external resource: res://PenguinMoves/Jump.tres
ERROR: At: scene/resources/scene
formattext.cpp:174:parseextresource() - Couldn't load external resource: res://PenguinMoves/Jump.tres
ERROR: Condition ' err != OK ' is true. returned: Ref()
ERROR: At: scene/resources/sceneformattext.cpp:1225:loadinteractive() - Condition ' err != OK ' is true. returned: Ref()
ERROR: Failed loading resource: res://PenguinAnimation/PTWalk.tres
ERROR: At: core/io/resource
loader.cpp:186:load() - Method/Function Failed, returning: RES()
ERROR: WARNING: Couldn't load external resource: res://PenguinAnimation/PTWalk.tres
ERROR: At: scene/resources/scene
formattext.cpp:174:parseextresource() - Couldn't load external resource: res://PenguinAnimation/PTWalk.tres
ERROR: Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: At: scene/animation/animationplayer.cpp:697:addanimation() - Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: At: scene/animation/animationplayer.cpp:697:addanimation() - Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: At: scene/animation/animationplayer.cpp:697:addanimation() - Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER
ERROR: At: scene/animation/animationplayer.cpp:697:addanimation() - Condition ' panimation.isnull() ' is true. returned: ERRINVALIDPARAMETER

Then every time it tries to use one of the missing animations:

ERROR: Animation not found: Idle
ERROR: At: scene/animation/animation_player.cpp:888:play() - Method/Function Failed.

I tried renaming files or saving animations as .tres but everything still works for me on any platform.

Please log in or register to answer this question.

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.