eumario / godot-manager

A Project, Version and Addons/Plugins manager for Godot Game Engine.
MIT License
332 stars 19 forks source link

Deletion of projects folder from a crash #86

Open TurboMair opened 7 months ago

TurboMair commented 7 months ago

Describe the bug My Godot Manager was installed from scoop. I just spent a couple hours cranking out a silly pokemon tool for my randomizer. I exported and saved as usual. I closed godot, right clicked a game I had moved and had broken in the manager. I selected "show project files" which did nothing. I then selected "show data folder" and suddenly the manager disappears and took my project folder, and everything I had in it, to the nothingness it went to.

To Reproduce Steps to reproduce the behavior:

  1. Move a game into another folder inside of your projects folder.
  2. Import it as its own game
  3. Right click the old broken game and select "show Project Files" and then "Show Data Folder"
  4. The manager will do nothing when you select show Project Files and then crash when you select Show Data Folder

It did it once more for me with a dummy project, but each time after that it seems to have fixed itself. I am just sad one of my longer term projects got wiped out.

Complete the Following:

eumario commented 7 months ago

So, if you could confirm this for me. You create your project in Godot, you move it to another folder, then import it into Godot Manager? Or, do you create your project with Godot Manager, move it, and then try to re-import it into Godot manager when it finds that it is missing, and then the Project folder gets deleted as well?

TurboMair commented 7 months ago

I created a new project and was working on it. But I had moved the file structure of my projects, which caused there to be a broken dependency link to a project that was not in the location that godot manager remember (It was nested into a new folder) The project showed up in its new location, but the old broken link was also there. I right clicked the broken link and selected view data source file and suddenly it was all gone.

So the second option, but the project successfully re-imported again. Just that the leftover old project caused it to crash and delete the folder

eumario commented 6 months ago

I have been unable to reproduce this error. I tried moving the project into a new folder, it comes up broken, Godot Manager crashes cause the old folder isn't there, but it doesn't delete it. I tried Re-Importing the project, with the old project still there, and did the same procedure, and it wouldn't delete. Even tried deleting the old project link, and it still did not delete the project. So I don't know what would have happened to cause the deletion of the actual project, as I always prompt on delete, to ask if you want to Remove Just the Project, the Project and Files, and to Cancel. So unless you select Project and Files, it will not delete any files from the system.