Open daveTheOldCoder opened 3 weeks ago
To clarify, you need to reactivate this every time you open the editor? Not just the first time in each project?
Yes, I need to do it every time I open the editor.
Update (see below): It happens every second time I open the editor.
The project for which I have this issue is a large one imported from Godot 4.3-stable.
I just tried to reproduce the issue with a trivial new project. The problem does not occur. Maybe there's some bad data or setting in the other project.
I'll close this issue.
I'm reopening this issue because I've reproduced the problem with the trivial project I mentioned above.
The problem appears to occur in alternate openings of the editor. In any case, it occurs intermittently.
If I run the project manager from the command line with the -d and -v options, this is output when the plugin is detected:
Found a repository at /home/dave/Documents/Godot/Projects/4.4/4.4-mono-test1/.git/.
Selected repository path: /home/dave/Documents/Godot/Projects/4.4/4.4-mono-test1/.git/.
and this is output when it fails:
ERROR: Cannot get class 'GitPlugin'.
at: _instantiate_internal (core/object/class_db.cpp:550)
ERROR: Received a nullptr VCS extension instance during construction.
at: _load_plugin (editor/plugins/version_control_editor_plugin.cpp:149)
I'm attaching the MRP. I omitted the .git, .godot and addons/godot-git-plugin directories from the .zip.
To reproduce:
git init
command to set up git for the directory.The same problem occurs in the non-mono edition.
This issue appears to be fixed in v4.4.dev4.official [36e6207bb].
Were relevant changes made that could affect this?
Tested versions
Reproducible in v4.4.dev3.official [f4af8201b] Reproducible in v4.4.dev3.mono.official [f4af8201b] Not reproducible in v4.3.stable.official [77dcf97d8]
System information
Godot v4.4.dev3.mono - Ubuntu 24.04.1 LTS 24.04 on Wayland - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CFL GT2) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 threads)
Issue description
Godot Git Plugin 3.1.1 https://github.com/godotengine/godot-git-plugin/commit/f6002fab42f904e6799c1574d04b7a9f825db49c
When I launch the Godot Editor, the Godot Git Plugin is not connected (Commit tab not present in right-hand-side dock), and I have to connect it with:
Then the plugin works normally.
This is the content of the Output pane when the editor is launched:
The project uses only GDScript. I'm using the mono edition only because I wanted to experiment with using C# in Godot. I could try the regular non-mono edition if you think that would be helpful in isolating the issue.
Steps to reproduce
(See above)
Minimal reproduction project (MRP)
I will attempt to provide an MRP if others cannot reproduce this issue.