The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

hello I had a problem that only occurs when I export and run my game, that is, everything is great in the editor, but when I run the exported project I get the following error:

I am not using anything special, it is just GDscript with the use of in singleton.

ERROR: decode_variant: Condition "len < 4" is true. Returned: ERR_INVALID_DATA
At: core/io/marshalls.cpp:108
ERROR: Error decoding property: .
At: core/project_settings.cpp:543

this is how the editor looks

Godot version 3.2.3
in Engine by (44 points)
edited by

Your image seems broken ... you linked to the paste :-/

There is only 1 error over and over again ... it is always better to paste the text ;-)

Thanks, I had not noticed the detail, I updated it

Can you provide more information? What are you trying to do? Are you doing something special, working with threads for example?

I already updated it brou

1 Answer

0 votes
Best answer

I already managed to solve the problem, my theory is that the configuration that my project had was affected because I moved it from one place to another (I moved it from the pc to a flash memory several times) that caused the corruption of some file and when exporting it caused errors, another thing is also that I had misspelled the address of my scenes in some preloaded variables; Anyway, the solution I gave you was to create a new project, after that go to the resources folder of the project that causes problems and copy the scenes, scripts and assets, I paste all this in the new project that I create making the necessary configurations in the editor so that everything works, my recommendation is that you take into account upper and lower case when saving and referencing scenes / scripts since it is very important because otherwise it will give you problems at some point, luck for the person who reads this: 3

by (44 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.