how do i stop the game from crashing whenever o open it?

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

So, i’m trying to make my first game and tried some things out, and it’s far from finished, the editor gives me no error, but when i try to export the project and open the .exe, after the godot logo gets displayed, it immediately closes itself.

The logs just gives me this, and i don’t know how to fix this:

Godot Engine v3.5.stable.official.991bb6ac7 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1660/PCIe/SSE2
Async. shader compilation: OFF
ERROR: No loader found for resource: res://assets/CustomUI/UIpack_vector.svg.
at: _load (core/io/resource_loader.cpp:278) - Method failed. Returning: RES()
ERROR: res://Assets/CustomUI/kenneyUI-blue.tres:3 - Parse Error: [ext_resource] 
referenced nonexistent resource at: res://assets/CustomUI/UIpack_vector.svg
at: poll (scene/resources/resource_format_text.cpp:412) - 
res://Assets/CustomUI/kenneyUI-blue.tres:3 - Parse Error: [ext_resource] referenced 
nonexistent resource at: res://assets/CustomUI/UIpack_vector.svg
ERROR: Failed to load resource 'res://Assets/CustomUI/kenneyUI-blue.tres'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: 
RES()
ERROR: Failed loading resource: res://Assets/CustomUI/kenneyUI-blue.tres. Make 
sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:270) - Condition "found" is true. Returned: RES()
ERROR: res://Main_menu.tscn:4 - Parse Error: [ext_resource] referenced nonexistent 
resource at: res://Assets/CustomUI/kenneyUI-blue.tres
at: poll (scene/resources/resource_format_text.cpp:412) - res://Main_menu.tscn:4 - 
Parse Error: [ext_resource] referenced nonexistent resource at: 
res://Assets/CustomUI/kenneyUI-blue.tres
ERROR: Failed to load resource 'res://Main_menu.tscn'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: 
RES()
ERROR: Failed loading resource: res://Main_menu.tscn. Make sure resources have 
been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:270) - Condition "found" is true. Returned: RES()
ERROR: Failed loading scene: res://Main_menu.tscn
at: start (main/main.cpp:2107) - Condition "!scene" is true. Returned: false
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
at: cleanup (core/object.cpp:2070) - ObjectDB instances leaked at exit (run with -- 
verbose for details).
ERROR: Resources still in use at exit (run with --verbose for details).
at: clear (core/resource.cpp:417) - Resources still in use at exit (run with --verbose for 
details).
ERROR: There are still MemoryPool allocs in use at exit!
at: cleanup (core/pool_vector.cpp:63) - Condition "allocs_used > 0" is true.
:bust_in_silhouette: Reply From: umma

You probably deleted a file. Try opening your scenes in the editor and Godot will tell you what files to reimport to fix the problem.

still didn’t fix it but i probably fucked up the project so i started a new one and made everything from the start, folders and all and now seems to work pretty fine, thanks anyways for answering!

xShader1374_ | 2022-09-07 01:12

:bust_in_silhouette: Reply From: dqdwaresking

It also took me more than day to find this error on ios. Error reading file path. Some code files are misunderstood that the path contains lowercase and uppercase characters. For example: Address=“res://Scripts/Address.gd” Address=“res://scripts/Address.gd” You should check the scirpt files carefully including the Autoload file.