Why are there new errors in debug console after exporting ?

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

I exported my game to Windows Desktop, and it crashes or freezes at times it never did before. At that moments I’m getting errors, that I haven’t seen while playing it in the editor. For example :
No loader found for resource: res://pawns/pawnwack.png.
At: core/io/resource_loader.cpp:285
SCRIPT ERROR: builder.unload: Invalid get index ‘Mossi’ (on base: ‘Nil’).
At: res://scripts/builder.gdc:140
SCRIPT ERROR: builder.initiate: First argument of yield() not of type object.
At: res://scripts/builder.gdc:81

How is this possible ? Are there any differences in code compilation in exe or something ? I suspect exe no longer tolerates upper/lower case string differences, while editor let it go ? Are there more ? How can I simulate exe situation in editor so I can debug it effitiently ?

:bust_in_silhouette: Reply From: Player_0

Hello bro I have the same error but a little differentiated I get the following in the console:, c

You are lucky, I have finally solved it :slight_smile:
There are several tabs in export menu, one of them is “resources”. I needed to manually enter *JSON there, otherwise exported project won’t be able to recognize json files and this error happens.

Inces | 2021-03-24 18:23

thanks, but it doesn’t work brou it keeps getting the same:, c

Player_0 | 2021-03-24 18:36

You don’t use JSONS in your project ? Meybe You used other extensions that need to be encrypted ? What about You paste your error here ? :slight_smile:

Inces | 2021-03-24 18:44