diff --git a/Source/Ecsact/Public/EcsactUnreal/Ecsact.cpp b/Source/Ecsact/Public/EcsactUnreal/Ecsact.cpp index 24d203e..1ec606e 100644 --- a/Source/Ecsact/Public/EcsactUnreal/Ecsact.cpp +++ b/Source/Ecsact/Public/EcsactUnreal/Ecsact.cpp @@ -81,7 +81,8 @@ auto FEcsactModule::UnloadEcsactRuntime() -> void { #undef RESET_ECSACT_FN if(EcsactRuntimeHandle) { - FPlatformProcess::FreeDllHandle(EcsactRuntimeHandle); + // NOTE: Freeing the ecsact runtime causes unreal editor to crash + // FPlatformProcess::FreeDllHandle(EcsactRuntimeHandle); EcsactRuntimeHandle = nullptr; } }