Open vikram3 opened 1 year ago
On MacOS Godot_v4.0.3-rc1_macos.universal.app downloading through the AssetLib v3.0.0 I get no godot-git-plugin.gd
file.
tree addons
addons
└── godot-git-plugin
├── LICENSE
├── THIRDPARTY.md
├── git_plugin.gdextension
├── linux
│ └── libgit_plugin.linux.editor.x86_64.so
├── macos
│ └── libgit_plugin.macos.editor.universal.dylib
├── plugin.cfg
└── win64
├── libgit_plugin.windows.editor.x86_64.dll
├── libgit_plugin.windows.editor.x86_64.exp
└── libgit_plugin.windows.editor.x86_64.lib
By adding the mentioned file with content
@tool
extends EditorPlugin
I see
I thought that VCS plugin didn't use the enable mechanism. So I think this can be closed, unless we want to do an enhancement where GDExtension plugins do in fact get enabled in the Plugins tab (or are shown as enabled automatically and can't be disabled).
Per: https://github.com/godotengine/godot-git-plugin/wiki/Git-plugin-v3
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.
Interesting but weird 'workflow' ... I want to disable the plugin thus need to be able to enable right?
I try to use this plugin (to move it forward?) but it still does not match my git workflow (git add --patch
/ git add file-x
) .. guess it's not in the way (but will it break when added to .gitignore
?
I can confirm no need for enabling and thus https://github.com/godotengine/godot-git-plugin/issues/183#issuecomment-1532709104 was my bad?
(tbc) IIRC I did not see the 'Commit tab' on a pristine project thus tried to enable.
Just want to follow up. Got same error on
ERROR: Attempt to open script 'res://addons/godot-git-plugin/godot-git-plugin.gd' resulted in error 'File not found'.
at: load_source_code (modules/gdscript/gdscript.cpp:1025)
ERROR: Failed loading resource: res://addons/godot-git-plugin/godot-git-plugin.gd. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:274)
Hi this issue has resurfaced.
I get
Unable to load addon script from path: 'res://addons/godot-git-plugin/godot-git-plugin.gd'.
And I can seemingly fix it by adding said file as done by this person.
File is not currently present in latest build at 3.1.1 https://github.com/godotengine/godot-git-plugin/releases/download/v3.1.1/godot-git-plugin-v3.1.1.zip or if installed through Asset Library.
I have some free time I can dedicate to fixing this, it that is needed. ,
i too
This happens for me always. I got this plug-in working fro a short while, and after then every time I install it it just shoqs this when I try to enable it in Project settings:
Unable to load addon script from path: 'res://addons/godot-git-plugin/godot-git-plugin.gd'.
This happens both on Linux and Windows with Godot 4.2 and 4.3.
Unable to load addon script from path: 'res://addons/godot-git-plugin/godot-git-plugin.gd'. This might be due to a code error in that script. Disabling the addon at 'res://addons/godot-git-plugin/plugin.cfg' to prevent further errors.