Project configured to spawn Niagara system via Character blueprint in a Code project fails to Cook, then crashes project on open
Discovered when verifying [Link Removed] (also similar to [Link Removed])
Did not reproduce in a Blueprint Project in //UE4/Release-4.22 at CL 5291112
Did not reproduce with a Niagara System placed in the level.
Does not occur in //UE4/Release-4.21 at CL 4899592 (however encounters [Link Removed], [Link Removed])
CONTENT WORKAROUND:
To avoid loading Niagara Systems in game startup before the Niagara Module is loaded, reference the Niagara System to spawn in Blueprint through a SoftObjectPath variable. This will ensure the project cooks and launches correctly. [Link Removed]
Setup:
Execution:
Result:
Output log is spammed with
PackagingResults: Warning: Failed to load '/Script/NiagaraEditor': Can't find file '/Script/NiagaraEditor' PackagingResults: Warning: Can't find file for asset '/Script/NiagaraEditor' while loading NULL. PackagingResults: Warning: Failed to load '/Script/NiagaraEditor': Can't find file for asset '/Script/NiagaraEditor' while loading NULL.
Then fails with error:
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000008
Closing and re-opening the project crashes on Editor open with the same callstack as the error
Expected:
Project compiles
PackagingResults: Error: === Critical error: === PackagingResults: Error: Fatal error! PackagingResults: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000008 PackagingResults: Error: [Callstack] 0x00007ffe8c011ebd UE4Editor-CoreUObject.dll!UObject::ConditionalPostLoad() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:998] PackagingResults: Error: [Callstack] 0x00007ffe71250ece UE4Editor-Niagara.dll!UNiagaraEmitter::PostLoad() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagara\private\niagaraemitter.cpp:191] PackagingResults: Error: [Callstack] 0x00007ffe8c0120db UE4Editor-CoreUObject.dll!UObject::ConditionalPostLoad() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1031] PackagingResults: Error: [Callstack] 0x00007ffe8c0bb1ff UE4Editor-CoreUObject.dll!EndLoad() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1598] PackagingResults: Error: [Callstack] 0x00007ffe8c0aaf27 UE4Editor-CoreUObject.dll!<lambda_abac6bf31806a00cbe632fc7fffc921b>::operator()() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1234] PackagingResults: Error: [Callstack] 0x00007ffe8c0c998f UE4Editor-CoreUObject.dll!LoadPackageInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1335] PackagingResults: Error: [Callstack] 0x00007ffe8c0c895a UE4Editor-CoreUObject.dll!LoadPackage() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1431] PackagingResults: Error: [Callstack] 0x00007ffe8c0d69a9 UE4Editor-CoreUObject.dll!ResolveName() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:751] PackagingResults: Error: [Callstack] 0x00007ffe8c0de72b UE4Editor-CoreUObject.dll!StaticLoadObjectInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:813] PackagingResults: Error: [Callstack] 0x00007ffe8c0ddef3 UE4Editor-CoreUObject.dll!StaticLoadObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:888] PackagingResults: Error: [Callstack] 0x00007ffe8c0dd968 UE4Editor-CoreUObject.dll!StaticLoadClass() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:921] PackagingResults: Error: [Callstack] 0x00007ffe70d95541 UE4Editor-niagaraCode.dll!ConstructorHelpersInternal::FindOrLoadClass() [d:\binary_workspaces\ue_4.22\engine\source\runtime\coreuobject\public\uobject\constructorhelpers.h:87] PackagingResults: Error: [Callstack] 0x00007ffe70d9501c UE4Editor-niagaraCode.dll!AniagaraCodeGameMode::AniagaraCodeGameMode() [d:\documents\unreal_projects\niagaracode\source\niagaracode\niagaracodegamemode.cpp:10] PackagingResults: Error: [Callstack] 0x00007ffe8bea6cdf UE4Editor-CoreUObject.dll!UClass::CreateDefaultObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:3076] PackagingResults: Error: [Callstack] 0x00007ffe8c0e1c56 UE4Editor-CoreUObject.dll!UObjectLoadAllCompiledInDefaultProperties() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:793] PackagingResults: Error: [Callstack] 0x00007ffe8c0cfa2f UE4Editor-CoreUObject.dll!ProcessNewlyLoadedUObjects() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:869] PackagingResults: Error: [Callstack] 0x00007ffe8beab2f7 UE4Editor-CoreUObject.dll!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:813] PackagingResults: Error: [Callstack] 0x00007ffe8c473c1b UE4Editor-Core.dll!TBaseMulticastDelegate<void>::Broadcast() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:977] PackagingResults: Error: [Callstack] 0x00007ffe8c645065 UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [d:\build\++ue4\sync\engine\source\runtime\core\private\modules\modulemanager.cpp:530] PackagingResults: Error: [Callstack] 0x00007ffecc9f8d67 UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() [d:\build\++ue4\sync\engine\source\runtime\projects\private\moduledescriptor.cpp:596] PackagingResults: Error: [Callstack] 0x00007ffecc9f8ff7 UE4Editor-Projects.dll!FProjectManager::LoadModulesForProject() [d:\build\++ue4\sync\engine\source\runtime\projects\private\projectmanager.cpp:63] PackagingResults: Error: [Callstack] 0x00007ff64df67eb1 UE4Editor-Cmd.exe!FEngineLoop::LoadStartupModules() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3135] PackagingResults: Error: [Callstack] 0x00007ff64df6d671 UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2536] PackagingResults: Error: [Callstack] 0x00007ff64df65377 UE4Editor-Cmd.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:129] PackagingResults: Error: [Callstack] 0x00007ff64df655ca UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145] PackagingResults: Error: [Callstack] 0x00007ff64df7315c UE4Editor-Cmd.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275] PackagingResults: Error: [Callstack] 0x00007ff64df74ca6 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] PackagingResults: Error: [Callstack] 0x00007ffee9ba3dc4 KERNEL32.DLL!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ffeec103691 ntdll.dll!UnknownFunction [] PackagingResults: Error: end: stack for UAT
I am not able to find world outliner how to enable it?
An error occurred while trying to generate project files !?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-71147 in the post.
10 |
Component | UE - Niagara |
---|---|
Affects Versions | 4.22 |
Target Fix | 4.24 |
Created | Mar 7, 2019 |
---|---|
Resolved | Nov 4, 2019 |
Updated | Jan 25, 2021 |