Open QuentinPerez opened 3 months ago
This is currently a known limitation of Godot: it cannot be reinitialized after the first initialization / destroy sequence. I will add this to the description of the PR and the Doxygen docs to make this clear. An option to work around this is to not kill the whole Godot instance, but to load a new PCK, and initialize a new SceneTree with the contents of that PCK.
We succeeded in making it work by patching Godot and Godot-cpp. Unfortunately, it's hard to upstream.
Hi there 👋
First of all, thank you for your work. I have been waiting for this feature for a long time! I am trying to integrate libgodot into an iOS project where I launch and stop several games, but when I instantiate, then deinstantiate, and then instantiate again, the app crashes. Do you have any idea why this happens? Is it supported?