The static UFunction* Function still points to the old UFunction instance that has been unloaded and reloaded. This leads to a call to ProcessEvent with an invalid function as a parameter and causes a crash.
Possible fix: do the same thing as BlueprintGeneratedStaticClass.
The static
UFunction* Function
still points to the old UFunction instance that has been unloaded and reloaded. This leads to a call toProcessEvent
with an invalid function as a parameter and causes a crash.Possible fix: do the same thing as
BlueprintGeneratedStaticClass
.