Crashes on Windows10 x64
KaijuKoder opened this issue · 4 comments
Tried running this on Windows 10 x64. Steps 1 and 2 work fine in the README, but when I get to Step 3 "Import, edit, and play project/
using Godot Engine 4+", Godot 4 lets me import the project but when I try and open it, Godot4 crashes without any error message.
c:\test\gdextension>c:\test\Godot\Godot_v4.0-beta10_win64.exe
c:\test\gdextension>Godot Engine v4.0.beta10.official.d0398f62f - https://godotengine.org
OpenGL Renderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
Editing project: c:/test/gdextension/project
c:\test\gdextension>
Given Godot 4 is still in flux, don't think it's worth trying to fix this. Letting you know in case others try go the GDExtension route. It seems no better than GDNative which came before it, and just as fragile. Maybe Modules are a better way to go.
Very likely the same thing that happened to me a while ago. Have a look at #1. It looks like godot-cpp
needs to be updated.
I just found the godot-cpp
commit that goes with godot 4 beta10
and it's this one: godotengine/godot-cpp@3da6db4
Thanks @frankhale. I tried your suggestion, but still couldn't get it working. I'm probably doing something wrong with git or the versions, but the instructions are unclear, even on Godot's own documentation website.
However I did find Custom Modules much, much easier, though even they have changed in Version 4: https://docs.godotengine.org/en/latest/contributing/development/core_and_modules/custom_modules_in_cpp.html
Update: Maybe it was the versions. Was able to extensions working using https://github.com/paddy-exe/GDExtensionSummator with Godot 45 RC2 (though not BETA10 which crashed) with these instructions step-by-step: https://ko-fi.com/post/GDExtension--Godot-SUPERCHARGED--How-to-get-star-Z8Z4GLUSE. Custom modules are much less work though.
I updated and did a few fixes, it works on Linux and 4.0.1-stable. I will eventually test on Windows.
Edit 08-23: I haven't forgotten but still don't quite have the free time. You can bug me here if you need it.
This is tested and working for Godot 4.3 in Windows 11. It should likewise work in Windows 10, but I did not test that.