Description

When setting the Kill Particles boolean of an emitter in a Niagara System to true, the editor crashes. So far, I've only been able to reproduce the issue with the NS_EH_KP system that a user provided for the repro. When trying to create a similar Niagara System from scratch I've been unable to reproduce the issue.

 

The user also added additional info: "The crash consistently happens when an emitter receives location data from another spawning emitter, "requires persistent ID" checked and activates "Kill Particles" module under the Event Handler."

Steps to Reproduce
  1. Open the attached project
  2. Open the NS_EH_KP Niagara System
  3. Select the Kill Particles section on the sub_emitter
  4. Set the Kill Particles boolean to true

RESULT:

The editor crashes

EXPECTED:

The editor doesn't crash when setting Kill Particles to true

Callstack
=== Critical error: ===

Assertion failed: FreeIDTable.Num() >= NumFreeIDs + Data.IDsToFree.Num() [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/VectorVM/Private/VectorVM.cpp] [Line: 535] 



[Callstack] 0x00007ffdc8e03b19 KERNELBASE.dll!UnknownFunction []
[Callstack] 0x00007ffd5600d066 UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1616]
[Callstack] 0x00007ffd560107a8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
[Callstack] 0x00007ffd55d1e8cd UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
[Callstack] 0x00007ffd55cb5575 UE4Editor-Core.dll!AssertFailedImplV() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
[Callstack] 0x00007ffd55cb7620 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
[Callstack] 0x00007ffd40ce5095 UE4Editor-VectorVM.dll!FVectorVMContext::FinishExec() [D:\Build\++UE4\Sync\Engine\Source\Runtime\VectorVM\Private\VectorVM.cpp:535]
[Callstack] 0x00007ffd40ccd47e UE4Editor-VectorVM.dll!<lambda_066d89be679256fc91d65acb4f3cb5d9>::operator()() [D:\Build\++UE4\Sync\Engine\Source\Runtime\VectorVM\Private\VectorVM.cpp:2690]
[Callstack] 0x00007ffd40ce4628 UE4Editor-VectorVM.dll!VectorVM::Exec() [D:\Build\++UE4\Sync\Engine\Source\Runtime\VectorVM\Private\VectorVM.cpp:2698]
[Callstack] 0x00007ffd343b5b3e UE4Editor-Niagara.dll!FNiagaraScriptExecutionContextBase::Execute() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraScriptExecutionContext.cpp:165]
[Callstack] 0x00007ffd34323f3e UE4Editor-Niagara.dll!FNiagaraEmitterInstance::Tick() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraEmitterInstance.cpp:1537]
[Callstack] 0x00007ffd343f3480 UE4Editor-Niagara.dll!FNiagaraSystemInstance::Tick_Concurrent() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemInstance.cpp:2189]
[Callstack] 0x00007ffd343bc5ae UE4Editor-Niagara.dll!FNiagaraSystemSimulation::FlushTickBatch() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemSimulation.cpp:790]
[Callstack] 0x00007ffd343f4967 UE4Editor-Niagara.dll!FNiagaraSystemSimulation::Tick_Concurrent() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemSimulation.cpp:1338]
[Callstack] 0x00007ffd343f7280 UE4Editor-Niagara.dll!FNiagaraSystemSimulation::Tick_GameThread() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemSimulation.cpp:1023]
[Callstack] 0x00007ffd343cb235 UE4Editor-Niagara.dll!FNiagaraSystemInstance::ManualTick() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemInstance.cpp:2016]
[Callstack] 0x00007ffd341074b1 UE4Editor-Niagara.dll!UNiagaraComponent::TickComponent() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraComponent.cpp:680]
[Callstack] 0x00007ffd52f30b43 UE4Editor-Engine.dll!FActorComponentTickFunction::ExecuteTickHelper<<lambda_1634216a1cfe6570ddb9ff9456c1b5fb> >() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h:3573]
[Callstack] 0x00007ffd52f65244 UE4Editor-Engine.dll!FActorComponentTickFunction::ExecuteTick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1014]
[Callstack] 0x00007ffd53d8297e UE4Editor-Engine.dll!FTickFunctionTask::DoTask() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:284]
[Callstack] 0x00007ffd53d8b56f UE4Editor-Engine.dll!TGraphTask<FTickFunctionTask>::ExecuteTask() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:886]
[Callstack] 0x00007ffd55acecdc UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:709]
[Callstack] 0x00007ffd55acf0ce UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:601]
[Callstack] 0x00007ffd55ae08fd UE4Editor-Core.dll!FTaskGraphImplementation::WaitUntilTasksComplete() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:1525]
[Callstack] 0x00007ffd53da8464 UE4Editor-Engine.dll!FTickTaskSequencer::ReleaseTickGroup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:564]
[Callstack] 0x00007ffd53daedaa UE4Editor-Engine.dll!FTickTaskManager::RunTickGroup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1578]
[Callstack] 0x00007ffd534cad8f UE4Editor-Engine.dll!UWorld::RunTickGroup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:782]
[Callstack] 0x00007ffd534d55f7 UE4Editor-Engine.dll!UWorld::Tick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1457]
[Callstack] 0x00007ffd33aff46c UE4Editor-NiagaraEditor.dll!FNiagaraSystemViewportClient::Tick() [D:\Build\++UE4\Sync\Engine\Plugins\FX\Niagara\Source\NiagaraEditor\Private\Widgets\SNiagaraSystemViewport.cpp:102]
[Callstack] 0x00007ffd513f97bd UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1793]
[Callstack] 0x00007ffd51d150e6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:426]
[Callstack] 0x00007ff6dfd09bc2 UE4Editor.exe!FEngineLoop::Tick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4836]
[Callstack] 0x00007ff6dfd2117c UE4Editor.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
[Callstack] 0x00007ff6dfd2125a UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[Callstack] 0x00007ff6dfd352bd UE4Editor.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[Callstack] 0x00007ff6dfd37fea UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ffdcb3d7c24 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffdcb52d721 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-116216 in the post.

0
Login to Vote

Fixed
ComponentUE - Niagara
Affects Versions4.26.2
Target Fix5.0
Fix Commit16586488
Main Commit16586498
Release Commit16586488
CreatedMay 20, 2021
ResolvedJun 8, 2021
UpdatedDec 1, 2022
View Jira Issue