[GDExtention] Fails on first load after clean build
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.
Upstream issue: https://github.com/godotengine/godot/issues/53163
@BastiaanOlij : upstream issue https://github.com/godotengine/godot/issues/53163 seems resolved. So is this also resolved?
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.
Here's one upstream issue: https://github.com/godotengine/godot/issues/80850
Not sure if it's the "best" one
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.