You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing some strange things with having multiple SwiftGodot gdextensions in the same project
Godot 4.2.2
SwiftGodot 0.41.0
Both of the extensions, libGameCenter.dylib and libNetworking.dylib works when they are the only extension available. When I add the Networking extension the GameCenter extension is no longer accessible in the project and I can no longer access any of the classes.
The only error I get is
E 0:00:00:0509 _register_extension_class_internal: Attempt to register extension class 'NetworkBrowser', which appears to be already registered.
<C++ Error> Condition "ClassDB::class_exists(class_name)" is true.
<C++ Source> core/extension/gdextension.cpp:386 @ _register_extension_class_internal()
E 0:00:00:0509 _register_extension_class_internal: Attempt to register extension class 'NetworkListener', which appears to be already registered.
<C++ Error> Condition "ClassDB::class_exists(class_name)" is true.
<C++ Source> core/extension/gdextension.cpp:386 @ _register_extension_class_internal()
NetworkBrowser & NetworkListener are the two classes defined in #initSwiftExtension for the Networking extension
Additionally, I think godot messes up some caching because if I remove the gamecenter.gdextension file (but keep libGameCenter.dylib in the folder) and run the game I get the same errors, but now the extension works
The text was updated successfully, but these errors were encountered:
rktprof
changed the title
Issues with multiple plugins in the same project
Issues with multiple extensions in the same project
May 8, 2024
I'm experiencing some strange things with having multiple SwiftGodot gdextensions in the same project
Godot 4.2.2
SwiftGodot 0.41.0
Both of the extensions, libGameCenter.dylib and libNetworking.dylib works when they are the only extension available. When I add the Networking extension the GameCenter extension is no longer accessible in the project and I can no longer access any of the classes.
The only error I get is
NetworkBrowser & NetworkListener are the two classes defined in #initSwiftExtension for the Networking extension
Additionally, I think godot messes up some caching because if I remove the gamecenter.gdextension file (but keep libGameCenter.dylib in the folder) and run the game I get the same errors, but now the extension works
The text was updated successfully, but these errors were encountered: