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

What is legacy Godot 4.0 mode and how to disable it? #1122

Closed
RonYanDaik opened this issue May 23, 2023 · 4 comments · Fixed by #1137
Closed

What is legacy Godot 4.0 mode and how to disable it? #1122

RonYanDaik opened this issue May 23, 2023 · 4 comments · Fixed by #1137
Labels
documentation topic:gdextension This relates to the new Godot 4 extension implementation
Milestone

Comments

@RonYanDaik
Copy link

I've just switched to master branch both for godot and for gdextension and got this:
"Cannot load a GDExtension built for Godot 4.1+ in legacy Godot 4.0 mode"
But cant find information how to switch to non legacy mode.

@Calinou Calinou added documentation topic:gdextension This relates to the new Godot 4 extension implementation labels May 23, 2023
@RonYanDaik
Copy link
Author

oh. you have to add to *.gdextension:

compatibility_minimum = 4.1

@Calinou
Copy link
Member

Calinou commented May 23, 2023

Reopening, as this should be documented.

@Calinou Calinou reopened this May 23, 2023
@dsnopek
Copy link
Collaborator

dsnopek commented Jun 8, 2023

After Godot PR godotengine/godot#77963 there is no longer a "legacy Godot 4.0 mode", so the error message here could probably also be simplified to just:

Cannot load a GDExtension built for Godot 4.1+ in Godot 4.0

If you try to load a GDExtension in Godot 4.1 and it's missing "compatibility_minimum", it'll now give the error:

GDExtension configuration file must contain a "configuration/compatibility_minimum" key

So, assuming we update the first error message, there shouldn't be any confusion about what the developer is supposed to do anymore.

@dsnopek
Copy link
Collaborator

dsnopek commented Jun 8, 2023

I just posted PR #1137, which update the error message as described above

@akien-mga akien-mga added this to the 4.1 milestone Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation topic:gdextension This relates to the new Godot 4 extension implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants