-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent creating projects in folders that can "brick" the editor until moved #60332
Comments
When you run Godot executable inside a project directory, it will run the project instead of opening the editor (unless you run with |
If this occurs when you start Godot from your desktop environment's launcher, this is probably because you created a project folder directly within your home directory ( You can fix this by creating a folder and moving your project files there ( To avoid this in the future, we should disallow creating projects directly within the home folder or in the same folder as the editor binary. For instance, if your Godot editor binary is installed in
Creating projects in subfolders such as
Opening existing projects in those locations would remain allowed though. This proposal only affects the project manager creation dialog, not anything else. Alternatively, we can follow advice from #21306. All this will be resolved automatically as project folders would be created implicitly, rather than explicitly. |
Thanks, I've managed to open godot again. |
Reopening, as we should still prevent creating projects in locations that can "brick" the editor. |
Hmm, I am definitely going to implement something to prevent users from creating a project as their home directory / executable directory. I vaguely remember importing my entire home directory with Godot Engine™, I forget if it broke my install 😆 However, I feel like this could be an engine bug. On linux, we can already pass Edit: Question, how should I even get the Edit 2: Ah, I answered my own question. I can get the working directory using Edit from far in the future: Proposal for how to get home directory: godotengine/godot-proposals#4851 |
Fixed by #74964 (will be in 4.0.1). |
Godot version
3.3.4 flathub
System information
Chromebook 32bit ran on linux
Issue description
As soon as I open up Godot it has a tab (and this is the only tab) stating that Error: Can't run project: no main scene defined in the project.
It's just a white box that states that message and no matter what I do I cannot get past this stage, any help?
Steps to reproduce
To reproduce these circumstances you need to on a Chromebook open a new project once recently download it, leave it empty and leave (I was checking out the software and then left) after that this error message will pop up.
Minimal reproduction project
[https://docs.google.com/presentation/d/1LyO5Yk52BFnr1MXw4soUyyKtkWC20i3Dj7SF7u_hLps/edit#slide=id.p](url for the error message)
The text was updated successfully, but these errors were encountered: