DaveTheCoder Not forever. At least you can restore it from your backup.

That's the thing. I ran out of space on my main drive so I was copying all my files over to a second drive when I did the test. That project folder got corrupted, so the backup doesn't work.

Renaming a folder isn't trivial because you can break chain of inheritance, or cause scenes to have missing resources. Godot devs just aren't spending their time testing stuff like that, because it's not a feature, that's like saying you purposely want to break your project but also Godot shouldn't crash. Not high priority

Compound this the UIDs, .import, and .godot files in 4.0 still seem to be in a state of hammering out issues, so the last thing I would recommend is renaming folders full of dependencies, unless you are doing careful file search+replace outside of Godot to do it

But everything should be relative from the root directory (the folder that the Godot dot project file is in). Godot itself should not even realize the folder has been renamed. This was how it worked in Godot 3.x.

    cybereality Godot itself should not even realize the folder has been renamed.

    The Project Manager needs to associate the project names with the folders that contain the projects, so that it can open a project in the editor. If you rename a project's folder, then it doesn't know where the project is. So how can it delete the files? That's strange.

    Because I clicked the "Remove" button. Remove (to me) sounds like it "removes it from the list". Not "delete it from my computer with no warning".

      cybereality Because I clicked the "Remove" button. Remove (to me) sounds like it "removes it from the list". Not "delete it from my computer with no warning".

      Yep, that's exactly what happens. The project is removed from the list, but stays on the drive physically. I just checked this.

      There used to be two options:

      • Delete (from list)
      • Remove from disk

      The second one was recently abandoned.

      Ah, I see. They fixed it on 4.0.2. Looks like it was a bug with 4.0.1. Still concerning, but it works now. You can carry on.

        cybereality Looks like it was a bug with 4.0.1.

        I'm not sure if it's a bug. Pretty handy option in my opinion. Changed this in 4.0.1:

        We have also disabled the ability to delete project files alongside the removal of the project from the project list.

        Here's the full excerpt from that article, which gives a good reason for removing the feature:

        One notable change in Godot 4.0.1 that is worth a dedicated mention is related to the project manager. We have received several reports of users accidentally creating a new Godot project in their user directory, which has led to unfortunate issues. The most critical of these issues is an accidental deletion of the entire user directory when deleting a project from the project manager. We will be revising the UI and UX of the related features, but to offer an immediate solution, we have removed the ability to create projects in a non-empty folder (and in home/documents folders specifically). We have also disabled the ability to delete project files alongside the removal of the project from the project list.