Description

Project crashes when auto save completes after copy/pasting emitters multiple times in a system

Encountered same crash testing Blend_Attributes_System and ExpressionsExample_System. Doesn't seem to occur with every system, but the repro might not be exactly what is causing the crash. 

Seen in //UE4/Release-4.20

Steps to Reproduce
  1. Open ContentExamples
  2. Open the Editor Preferences and set the Auto Save time to 1 minute
  3. Open ExpressionsExample_System
  4. Copy and paste the emitter(s) in the sequencer track multiple times (I did around ~15+)
    1. Do this close enough to the auto save time so that the system is compiling when the auto save kicks in
  5. Change focus to another application
  6. Wait for the autosave and compile to finish
  7. Click onto the editor

Result: Project crashes. I saw that my editor appeared to be functioning (niagara sequence was still updating

Callstack
[2018.08.02-18.23.10:655][177]LogWindows: Error: === Critical error: ===
[2018.08.02-18.23.10:655][177]LogWindows: Error: 
[2018.08.02-18.23.10:655][177]LogWindows: Error: Assertion failed: InState >= ENiagaraExecutionState::Active && InState < ENiagaraExecutionState::Num [File:D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraEmitterInstance.cpp] [Line: 1425] 
[2018.08.02-18.23.10:655][177]LogWindows: Error: 
[2018.08.02-18.23.10:655][177]LogWindows: Error: 
[2018.08.02-18.23.10:655][177]LogWindows: Error: 
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffe5cfea388 KERNELBASE.dll!UnknownFunction []
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffe306f6850 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdecba62ec UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdecb351cb UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdd0f7dad3 UE4Editor-Niagara.dll!FNiagaraEmitterInstance::SetExecutionState() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagara\private\niagaraemitterinstance.cpp:1427]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdd0fb9004 UE4Editor-Niagara.dll!FNiagaraSystemSimulation::Tick() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagara\private\niagarasystemsimulation.cpp:551]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdd0f9d8e1 UE4Editor-Niagara.dll!FNiagaraSystemInstance::ComponentTick() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagara\private\niagarasysteminstance.cpp:1106]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdd0ef6d09 UE4Editor-Niagara.dll!UNiagaraComponent::TickComponent() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagara\private\niagaracomponent.cpp:401]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde2efebd1 UE4Editor-Engine.dll!FActorComponentTickFunction::ExecuteTickHelper<<lambda_e8384def656dc646af48282ce274db64> >() [d:\build\++ue4\sync\engine\source\runtime\engine\classes\gameframework\actor.h:3095]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde2f39974 UE4Editor-Engine.dll!FActorComponentTickFunction::ExecuteTick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:797]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde3da090d UE4Editor-Engine.dll!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdec9c1f92 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:665]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdec9c21e0 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilIdle() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:585]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde3df4b39 UE4Editor-Engine.dll!FTickTaskSequencer::ReleaseTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:558]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde3e03fe2 UE4Editor-Engine.dll!FTickTaskManager::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:1455]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde3508674 UE4Editor-Engine.dll!UWorld::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:780]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde351412f UE4Editor-Engine.dll!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1466]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffdd02edb11 UE4Editor-NiagaraEditor.dll!FNiagaraSystemViewportClient::Tick() [d:\build\++ue4\sync\engine\plugins\fx\niagara\source\niagaraeditor\private\widgets\sniagarasystemviewport.cpp:85]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde11c7642 UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1765]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffde1abf126 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ff7b27b5cbd UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3495]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ff7b27c5b3c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:166]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ff7b27c5bba UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ff7b27d3dac UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ff7b27d5aaa UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffe5fc23034 KERNEL32.DLL!UnknownFunction []
[2018.08.02-18.23.10:655][177]LogWindows: Error: [Callstack] 0x00007ffe608b1431 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62448 in the post.

2
Login to Vote

Won't Fix
ComponentUE - Niagara
Affects Versions4.20
CreatedAug 2, 2018
ResolvedOct 28, 2019
UpdatedJan 27, 2020
View Jira Issue