When using the ConstructorHelpers templated function, FObjectFinder, with Niagara assets, the editor crashes.
Tested in 4.21.2 (CL - 4753647), 4.22 (CL - 5660361), 4.23 (CL - 5806860)
FObjectFinder (LoadObject/StaticLoadObject/FSoftObjectPath.TryLoad), e.g. ConstructorHelpers::FObjectFinder<UNiagaraSystem>Var(TEXT("NiagaraSystem'/Game/NewNiagaraSystem.NewNiagaraSystem'"));
Expected: An instance of NewNiagaraSystem is loaded
Result: The editor crashes
LoginId:f0847e0641d1167c58b18ead90c0bf20 EpicAccountId: Unhandled exception UE4Editor_CoreUObject UE4Editor_Niagara UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_MyProject!ConstructorHelpersInternal::FindOrLoadObject<UNiagaraSystem>() [c:\program files\epic games\ue_4.22\engine\source\runtime\coreuobject\public\uobject\constructorhelpers.h:36] UE4Editor_MyProject!AMyActor::AMyActor() [c:\test\myproject\source\myproject\myactor.cpp:12] UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_CoreUObject UE4Editor_Core UE4Editor_Core UE4Editor_Projects UE4Editor_Projects UE4Editor UE4Editor UE4Editor UE4Editor UE4Editor UE4Editor kernel32 ntdll
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-72592 in the post.
34 |
Component | UE - Niagara |
---|---|
Affects Versions | 4.22, 4.23, 4.21.2 |
Target Fix | 4.24 |
Created | Apr 10, 2019 |
---|---|
Resolved | Nov 5, 2019 |
Updated | Nov 13, 2019 |