-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi David,
thanks a lot for this plugin. I am encountering infrequent desktop crashes originating in the plugin.
The crashes are in UStory::ChoosePathString while invoking MonoInvoke:
inline void MonoInvoke<void>(FString MethodName, void** params)
{
FInkModule& Ink = FModuleManager::GetModuleChecked<FInkModule>("Ink");
MonoObject* Exception;
mono_runtime_invoke(Methods[MethodName], Instance, params, &Exception);
Ink.MaybeThrowMonoException(Exception);
}
I was trying to track down the crash and eventually, it leads me to think that it might be UE4 Garbage Collector, collecting
probably(?) TMap, which is not marked as UPROPERTY() This would explain to me the randomness in which the class crashes.
I was going through the Minidump, but couldn't pinpoint the issue better than this.
Any idea, if Methods could be marked for non-deletion or UPROPERTized?
I thought of wrapping MonoMethod into USTRUCT so it could be markable, but I am not sure if this would be the right way.
Thanks,
Jan
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels