error running an exported project

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Player_0

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

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 :wink:

clemens.tolboom | 2021-03-24 19:58

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

Player_0 | 2021-03-24 20:03

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

MrEliptik | 2021-03-25 08:25

I already updated it brou

Player_0 | 2021-03-25 13:02

:bust_in_silhouette: Reply From: Player_0

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