Closed mrjshzk closed 12 months ago
Just fixed it by only adding the key in the .gdextension file like in the example below
Also, it's right here the godot source code now - gdextension only supported by 4.1 https://github.com/godotengine/godot/blob/afc5fa14adce7676746662751e63eab2d2ad4420/core/extension/gdextension.cpp#L597
[configuration] entry_symbol = "tbloader_init" compatibility_minimum = 4.1
[libraries] windows.64 = "bin/tbloader.windows.x86_64.dll" linux.64 = "bin/libtbloader.linux.x86_64.so" macos.64 = "bin/libtbloader.macos.universal.dylib"
After building from source, and putting it on a Godot 4.0 or 4.1 project, it spits out an error and is unable to use the plugin
ERROR: GDExtension configuration file must contain a "configuration/compatibility_minimum" key: res://addons/tbloader/tbloader.gdextension
SCRIPT ERROR: Parse Error: Could not find type "TBLoader" in the current scope.
-> inside src/plugin.gd_handles
function