godot-git-plugin icon indicating copy to clipboard operation
godot-git-plugin copied to clipboard

Cannot uninstall the plugin

Open aristides86 opened this issue 2 years ago • 12 comments

There are no istructions on uninstallation. Doing usual delete from addon folder every time launching the project I get Cannot get class 'GitPlugin'. Received a nullptr VCS extension instance during construction. So the plugin info is still embedded into the project. How do I get rid of it?

aristides86 avatar Jan 03 '24 07:01 aristides86

+1! How do you uninstall? I'm getting frequent crashes on my project, and I feel it might be related. Please provide removal instructions (actually surprised this hasn't been provided already).

JamesMowery avatar Jan 11 '24 21:01 JamesMowery

+1
Cannot get class 'GitPlugin'. Received a nullptr VCS extension instance during construction.

fantomac avatar Jan 18 '24 15:01 fantomac

This is caused by a engine issue: https://github.com/godotengine/godot/issues/22476

Disable the plugin in the Project Settings first, close the editor then remove addons/godot-git-plugin/.

If you forgot to disable the plugin in the Project Settings, edit project.godot with a text editor to remove mentions of the Git plugin while the editor is closed.

Calinou avatar Jan 18 '24 15:01 Calinou

I thanks, but it's not possible to disable the plugin because it's not possible to activate it 😅

From the the instruction manual: Note: you do NOT need to manually enable the plugin in the Project > Project Settings > Plugins tab. In fact, you can't; that tab is for script-based plugins, GDExtension plugins, like this one, will be loaded automatically.

fantomac avatar Jan 18 '24 15:01 fantomac

Removing the .godot/ folder (.import/ in 3.x) from the project while the editor is closed might help. This will force reimporting all resources in the project too.

Calinou avatar Jan 18 '24 15:01 Calinou

Looks like the plugin adds itself into the project settings, but doesn't get removed afterwards. It needs to be done manually from Project settings > Version control.

aristides86 avatar Jan 18 '24 17:01 aristides86

Already done + remove .git, .gitignore in case ... nothing in app_userdata (i'm on Mac with Godot 4.1.2)

fantomac avatar Jan 18 '24 17:01 fantomac

Looks like the plugin adds itself into the project settings, but doesn't get removed afterwards. It needs to be done manually from Project settings > Version control.

Seems, we have the culprit, thank you!!!

Capture d’écran 2024-01-18 à 18 24 28

fantomac avatar Jan 18 '24 17:01 fantomac