You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, at that time the scripts are already cleared out, and this cause a segmentation fault when the function _predelete is executed.
To fix this issue, it's necessary to clear the ScriptECS during the cleanup. This godot PR introduces a mechanism to get such callback: godotengine/godot#50179.
The text was updated successfully, but these errors were encountered:
The crash is caused because the
ScriptInstances
insideScriptEcs
are cleared when the functionunregister_modules_types
is execute https://github.com/GodotECS/godex/blob/main/modules/godot/register_types.cpp#L156However, at that time the scripts are already cleared out, and this cause a segmentation fault when the function
_predelete
is executed.To fix this issue, it's necessary to clear the
ScriptECS
during the cleanup. This godot PR introduces a mechanism to get such callback: godotengine/godot#50179.The text was updated successfully, but these errors were encountered: