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

"This godot-rust version is only compatible with Godot 3.4.x; detected version 3.5.1-stable (official)." #1019

Open
KonyD opened this issue Jan 30, 2023 · 4 comments
Labels

Comments

@KonyD
Copy link

KonyD commented Jan 30, 2023

When i run my project it gives this warning warning. Is there a way to fix this?

src\lib.rs:23 - This godot-rust version is only compatible with Godot 3.4.x; detected version 3.5.1-stable (official).
GDNative mismatches may lead to subtle bugs, undefined behavior or crashes at runtime.
Apply the 'custom-godot' feature if you want to use current godot-rust with another Godot engine version.
@KonyD KonyD added the bug label Jan 30, 2023
@Bromeon
Copy link
Member

Bromeon commented Jan 30, 2023

Which godot-rust version do you have?
Can you update to 0.11.3 (released today)?

@necrashter
Copy link

I'm using a custom build of Godot (3.x branch) and the latest git version of godot-rust with feature custom-godot. I also get a similar warning:

WARNING: This godot-rust version is only compatible with Godot >= 3.5.1 and < 3.6; detected version 3.6-beta (custom_build).

However, it works fine. I guess this warning is intentional, but I expected master branch of this repository to be compatible with 3.x branch of Godot. Is there a way to suppress this warning?

@KonyD
Copy link
Author

KonyD commented Jan 31, 2023

I updated it to the latest version. It didn't give warning but it's still didn't print "Hello, world!".

I don't know what i'm doing wrong.

@chitoyuu
Copy link
Contributor

Which godot-rust version do you have? Can you update to 0.11.3 (released today)?

I'm using godot 3.5.1

He's asking you for the version of godot-rust you're using.

I don't know what i am doing wrong.

Making consecutive replies. Please use the edit feature.

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

No branches or pull requests

4 participants