Closed CarlCochet closed 2 years ago
@CarlCochet Would you mind running the project with the new Alpha 5 again? And with the latest version of godot-cpp. I tried it on both Mac and Windows and it works for me without any flaws.
I tried again this morning, removed every Godot instances from my computer and cloned the newest master branch along with the newest godot-cpp + the extension, I followed the same steps again and it seems to work now! Thanks for the help
Good to hear👍🏻
Description:
The Summator example class is not recognized inside GDScript after compiling Godot 4, godot-cpp and the GDExtensionSummator.
Platform: Windows 10, 64 bits Godot commit version: 622806397 godot-cpp commit version: c4f12ccc3cd19b8fd535d179efd0471386c7f8e9
Steps:
scons platform=windows
scons target=debug generate_bindings=yes
scons target=debug
godot/bin/godot.windows.tools.64.exe
var test = Summator.new()
Result:
In the GDScript editor, we can see that
Summator
is not recognized:Running the scene does not help, it fails at the line where I try to instanciate the
Summator
object. I also tried building the release versions for all components and got the same issue.