|Topic was automatically imported from the old Question2Answer platform.
I got an error “Can’t run project: no main scene defined in the project” when i tries to run a godot engine.
Not a project. Engine. Godot_v4.0-stable_win64.
When i was using Win10 i avoided this by enreting
“Godot_v4.0-stable_win64 --rendering-driver opengl3”
in command line and its works.
But now i am use Win11 and when i trying to do this i get a “Can’t run project: no main scene defined in the project” error again.
Do you happen to have a
project.godot file in the same directory as your Godot executable?
When you run Godot from inside a project directory it will attempt to run that project, but of course it will fail if that project has no main scene defined.
If that’s the case you should move that project elsewhere, or move the executable elsewhere.
Zylann | 2023-07-06 09:21
Thanks, that helped me
Mnimi | 2023-07-06 09:39