-
- Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
Godot version
v4.5.stable.steam [876b29033]
Godot Git Plugin version
v3.2.1 [b26312f]
System information
Windows 11 Version 24H2 (OS Build 26100.6725)
Issue description
Upon reloading a project with the godot-git-plugin installed, an error is printed to the console and the version control functionality does not appear.
Godot Engine v4.5.stable.steam (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors. --- Debug adapter server started on port 6006 --- ERROR: Cannot get class 'GitPlugin'. ERROR: Received a nullptr VCS extension instance during construction. --- GDScript language server started on port 6005 ---
Reloading the project again loads the plugin fine. As a complete shot-in-the-dark, perhaps there's a race between deconstruction of the old plugin instance and construction of the new plugin instance that leads to the old project instance destroying the new plugin instance before the new project instance can claim it?
My gut feeling also suspects this might be different on unixes due to differences between dynamic loading on the two platforms.
Steps to reproduce
- Open a project with the plugin.
- Reload the project. (Project > Reload Current Project)
- Note the errors in the output panel and that the VCS panels do not show up.