-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
The examples does not run properly #51
Comments
Seems to work for me: cargo build
cd examples/dodge-the-creeps
godot4 Which Godot version are you using? A lot has changed in the last few days, you may need to get the latest nightly builds from here or build Godot |
Godot version: Godot4 Beta4 It's not working right after using Cargo Update today My English is not very good. I'm sorry |
This one is quite outdated, being released 1.5 months ago. Godot's GDExtension API currently changes at a very fast pace 😉 As mentioned, you should try the latest nightly build or wait until next Beta is released. |
In fact, I also used Gogo4 Beta8 |
Just checked Beta8, Beta7, Beta6, Beta5,Godot all crashed. Only Beta4 can open normally, but the examples cannot run Translated Report (Full Report Below)Process: Godot [3434] Date/Time: 2022-12-16 14:55:37.2343 +0800 Time Awake Since Boot: 5400 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGABRT) VM Region Info: 0 is not in any region. Bytes before following region: 4372697088 Application Specific Information: |
I said "wait until next Beta is released" -- past betas are all incompatible. And Beta 4 for sure is, there have been loads of changes in the GDExtension API since then. The fact that it seems to open normally doesn't matter, you'd still have UB all over the place. So it doesn't make sense to spend time trying to debug that. So I can only repeat myself, you have these options:
|
I'm sorry. Maybe I'm stupid. I didn't understand yesterday. Now it's clear. Thank you. |
No worries 🙂 glad I could help! I will clarify this in the Readme once Beta 9 is out. I'll then close this issue. |
Thank you 👍 |
After trying cargo build:
The text was updated successfully, but these errors were encountered: