Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on Windows10 x64 #5

Open
KaijuKoder opened this issue Feb 22, 2023 · 3 comments
Open

Crashes on Windows10 x64 #5

KaijuKoder opened this issue Feb 22, 2023 · 3 comments

Comments

@KaijuKoder
Copy link

KaijuKoder commented Feb 22, 2023

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.

@frankhale
Copy link

frankhale commented Feb 22, 2023

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

@KaijuKoder
Copy link
Author

KaijuKoder commented Feb 23, 2023

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.

@nathanfranke
Copy link
Owner

nathanfranke commented Mar 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants