MY GAME IS NOT WORKING AFTER I EXPORT IT, PLEASE HELP ME, IM ALMOST DEAD TRYING TO RESOLVE THIS!!!!!

Godot Version

4.3 stable

Question

Im working in this game for the last 5 months and just now i encontered an thing, that is, the game dont works after i export it, it works when i run it in godot but when i try to export it for linux, windows or any other shit i get 5000 lines of errors in the debug console, here one part of what it gives me: ERROR: No loader found for resource: res://Tilesets/TilesetCyan.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPink.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPurple.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetRed.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: Can't load dependency: res://Tilesets/TilesetCyan.png. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Failed loading resource: res://.godot/exported/133200997/export-01dbb559bd5b21d546e9d2c44df9eb5d-FokedUpWall.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) ERROR: Can't load dependency: res://Other/FokedUpWall.tscn. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:505) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:492) ERROR: Failed loading resource: res://.godot/exported/133200997/export-3ae06fa0a47c58480968a17200f9cd17-level_1.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) WARNING: res://Other/FokedUpWall.tscn: In external resource #3, invalid UID: uid://dy8l6avqyqp1v - using text path instead: res://Tilesets/TilesetCyan.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #4, invalid UID: uid://datsoxuppc7j3 - using text path instead: res://Tilesets/TilesetPink.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #5, invalid UID: uid://b6765yqqusk4f - using text path instead: res://Tilesets/TilesetPurple.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #6, invalid UID: uid://hi32udn0slmm - using text path instead: res://Tilesets/TilesetRed.png at: open (core/io/resource_format_binary.cpp:1086) ERROR: No loader found for resource: res://Tilesets/TilesetCyan.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPink.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPurple.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetRed.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: Can't load dependency: res://Tilesets/TilesetCyan.png. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Failed loading resource: res://.godot/exported/133200997/export-01dbb559bd5b21d546e9d2c44df9eb5d-FokedUpWall.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) ERROR: Can't load dependency: res://Other/FokedUpWall.tscn. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:505) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:492) ERROR: Failed loading resource: res://.godot/exported/133200997/export-0331ba6b839e05c962e56aa54ca79a27-level_2.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) WARNING: res://Other/FokedUpWall.tscn: In external resource #3, invalid UID: uid://dy8l6avqyqp1v - using text path instead: res://Tilesets/TilesetCyan.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #4, invalid UID: uid://datsoxuppc7j3 - using text path instead: res://Tilesets/TilesetPink.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #5, invalid UID: uid://b6765yqqusk4f - using text path instead: res://Tilesets/TilesetPurple.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #6, invalid UID: uid://hi32udn0slmm - using text path instead: res://Tilesets/TilesetRed.png at: open (core/io/resource_format_binary.cpp:1086) ERROR: No loader found for resource: res://Tilesets/TilesetCyan.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPink.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPurple.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetRed.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: Can't load dependency: res://Tilesets/TilesetCyan.png. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Failed loading resource: res://.godot/exported/133200997/export-01dbb559bd5b21d546e9d2c44df9eb5d-FokedUpWall.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) ERROR: Can't load dependency: res://Other/FokedUpWall.tscn. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:505) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:492) ERROR: Failed loading resource: res://.godot/exported/133200997/export-6ca84ebc3e4a303fe72ee0a673a47a09-level_3.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) WARNING: res://Other/FokedUpWall.tscn: In external resource #3, invalid UID: uid://dy8l6avqyqp1v - using text path instead: res://Tilesets/TilesetCyan.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #4, invalid UID: uid://datsoxuppc7j3 - using text path instead: res://Tilesets/TilesetPink.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #5, invalid UID: uid://b6765yqqusk4f - using text path instead: res://Tilesets/TilesetPurple.png at: open (core/io/resource_format_binary.cpp:1086) WARNING: res://Other/FokedUpWall.tscn: In external resource #6, invalid UID: uid://hi32udn0slmm - using text path instead: res://Tilesets/TilesetRed.png at: open (core/io/resource_format_binary.cpp:1086) ERROR: No loader found for resource: res://Tilesets/TilesetCyan.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPink.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetPurple.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: No loader found for resource: res://Tilesets/TilesetRed.png (expected type: Texture2D) at: _load (core/io/resource_loader.cpp:291) ERROR: Can't load dependency: res://Tilesets/TilesetCyan.png. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Failed loading resource: res://.godot/exported/133200997/export-01dbb559bd5b21d546e9d2c44df9eb5d-FokedUpWall.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) ERROR: Can't load dependency: res://Other/FokedUpWall.tscn. at: parse_variant (core/io/resource_format_binary.cpp:461) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:505) ERROR: Error when trying to parse Variant. at: parse_variant (core/io/resource_format_binary.cpp:492) ERROR: Failed loading resource: res://.godot/exported/133200997/export-52557ec36aa89aaff171a0d9d1dc49f5-level_4.scn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:283) SCRIPT ERROR: Parse Error: Could not preload resource file "res://Scenes/Levels/level_1.tscn". at: GDScript::reload (res://Scripts/StoreStuff.gd:21) SCRIPT ERROR: Parse Error: Could not preload resource file "res://Scenes/Levels/level_2.tscn". at: GDScript::reload (res://Scripts/StoreStuff.gd:28) SCRIPT ERROR: Parse Error: Could not preload resource file "res://Scenes/Levels/level_3.tscn". at: GDScript::reload (res://Scripts/StoreStuff.gd:35) SCRIPT ERROR: Parse Error: Could not preload resource file "res://Scenes/Levels/level_4.tscn". at: GDScript::reload (res://Scripts/StoreStuff.gd:42) ERROR: Failed to load script "res://Scripts/StoreStuff.gd" with error "Parse error". ; PLEASE HELP ME I PASSED AN ENTIRE DAY TRYING TO SOLVE THIS

Do you have a *.pck file in the same folder as your *.exe file when you try to run your game?
*.pck file contains all of your project resources, like sprites, scenes, sounds, etc.

1 Like

Try building your project with the .pck file embedded into the executable, and see what happens.

yes, it is

it dint changed nothing