godot windows export crash

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

i have a game and when i export it and run the exe I get this error

Godot Engine v4.0.2.stable.official.7a0977ce2 - https://godotengine.org
OpenGL API 3.3.0 Core Profile Context 22.20.44.24.221223 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon(TM) Graphics

ERROR: Cannot open file 'res://menus/level_menu.tscn'.
   at: (scene/resources/resource_format_text.cpp:1649)
ERROR: Failed loading resource: res://menus/level_menu.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:222)
ERROR: Failed loading scene: res://menus/level_menu.tscn
   at: (main/main.cpp:2965)
ERROR: 1 RID allocations of type 'N5GLES312RenderTargetE' were leaked at exit.
ERROR: 2 RID allocations of type 'N5GLES37TextureE' were leaked at exit.
ERROR: 1 RID allocations of type 'N18RendererCanvasCull6CanvasE' were leaked at exit.
ERROR: 1 RID allocations of type 'N16RendererViewport8ViewportE' were leaked at exit.
ERROR: 1 RID allocations of type 'N17RendererSceneCull8ScenarioE' were leaked at exit.
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (

core/object/object.cpp:1982)

I’ve tried deleting the .godot folder and remove all of the .import files and starting a new project and still get the same error

:bust_in_silhouette: Reply From: kaifungamdev

ok I figured it out I hade a misconfigured export template