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

[GDExtention] Fails on first load after clean build #624

Open
BastiaanOlij opened this issue Sep 27, 2021 · 5 comments
Open

[GDExtention] Fails on first load after clean build #624

BastiaanOlij opened this issue Sep 27, 2021 · 5 comments
Labels
bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation

Comments

@BastiaanOlij
Copy link
Collaborator

Weird issue that only started happening today, Akien thinks this might be an upstream problem but we need to investigate it further.

First time I compile the plugin from scratch and start it in the editor, the editor doesn't recognise the classes. You can see in the logs its initialising things to late.

Second time running, or running with a breakpoint set, it all works fine, so its definately a timing issue. Also from that point onwards it keeps working so it must be caching something about the library.

@BastiaanOlij BastiaanOlij added bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation labels Sep 27, 2021
@akien-mga
Copy link
Member

Upstream issue: godotengine/godot#53163

@MJacred
Copy link
Contributor

MJacred commented Jan 22, 2024

@BastiaanOlij : upstream issue godotengine/godot#53163 seems resolved. So is this also resolved?

@dsnopek
Copy link
Collaborator

dsnopek commented Jan 22, 2024

In the end it was only partially fixed. I think there's new upstream issue tracking it now, but I don't have the link handy.

@dsnopek
Copy link
Collaborator

dsnopek commented Jan 22, 2024

Here's one upstream issue: godotengine/godot#80850

Not sure if it's the "best" one

@BastiaanOlij
Copy link
Collaborator Author

I really need to get back into building something proper with GDExtensions, I have no idea if this is fixed by now.

But seeing similar issues exist/existed with normal plugins as well, I would concur with Davids option here, it's gotten loads better, but there are still edge cases where things go wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation
Projects
None yet
Development

No branches or pull requests

4 participants