Description

The Editor will crash when setting a bool in a Niagara Parameter Collection via Blueprint.

Found in 4.20 CL# 4369336, 4.21 CL# 4753647, 4.22 CL# 5159901, 4.23 CL# 5194133

Steps to Reproduce
  1. Open attached project
  2. Play in Editor

Results:
Crash

Expected:
No crash would occur when setting the bool via Blueprint

Callstack
Assertion failed: Param.GetSizeInBytes() == sizeof(T) [File:d:\jeremymain\engine\plugins\fx\niagara\source\niagara\public\NiagaraParameterStore.h] [Line: 312]

UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\jeremymain\engine\source\runtime\core\private\misc\assertionmacros.cpp:418]
UE4Editor_Niagara!UNiagaraParameterCollectionInstance::SetBoolParameter() [d:\jeremymain\engine\plugins\fx\niagara\source\niagara\private\niagaraparametercollection.cpp:181]
UE4Editor_Niagara!UNiagaraParameterCollectionInstance::execSetBoolParameter() [d:\jeremymain\engine\plugins\fx\niagara\source\niagara\classes\niagaraparametercollection.h:14]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\class.cpp:4725]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:947]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2354]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1017]
UE4Editor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:852]
UE4Editor_CoreUObject!ProcessLocalFunction() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1076]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1017]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1101]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\class.cpp:4725]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\jeremymain\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1504]
UE4Editor_Engine!AActor::ProcessEvent() [d:\jeremymain\engine\source\runtime\engine\private\actor.cpp:769]
UE4Editor_Engine!AActor::ReceiveTick() [d:\jeremymain\engine\intermediate\build\win64\ue4editor\inc\engine\actor.gen.cpp:1039]
UE4Editor_Engine!AActor::Tick() [d:\jeremymain\engine\source\runtime\engine\private\actor.cpp:990]
UE4Editor_Engine!AActor::TickActor() [d:\jeremymain\engine\source\runtime\engine\private\actor.cpp:970]
UE4Editor_Engine!FActorTickFunction::ExecuteTick() [d:\jeremymain\engine\source\runtime\engine\private\actor.cpp:164]
UE4Editor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\jeremymain\engine\source\runtime\core\public\async\taskgraphinterfaces.h:847]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\jeremymain\engine\source\runtime\core\private\async\taskgraph.cpp:685]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\jeremymain\engine\source\runtime\core\private\async\taskgraph.cpp:582]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\jeremymain\engine\source\runtime\core\private\async\taskgraph.cpp:1457]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\jeremymain\engine\source\runtime\engine\private\ticktaskmanager.cpp:557]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\jeremymain\engine\source\runtime\engine\private\ticktaskmanager.cpp:1505]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\jeremymain\engine\source\runtime\engine\private\leveltick.cpp:789]
UE4Editor_Engine!UWorld::Tick() [d:\jeremymain\engine\source\runtime\engine\private\leveltick.cpp:1565]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\jeremymain\engine\source\editor\unrealed\private\editorengine.cpp:1618]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\jeremymain\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\jeremymain\engine\source\runtime\launch\private\launchengineloop.cpp:3961]
UE4Editor!GuardedMain() [d:\jeremymain\engine\source\runtime\launch\private\launch.cpp:168]
UE4Editor!GuardedMainWrapper() [d:\jeremymain\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\jeremymain\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Have Comments or More Details?

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

11
Login to Vote

Fixed
ComponentUE - Niagara
Affects Versions4.204.214.224.23
Target Fix4.25
Fix Commit11170119
CreatedFeb 26, 2019
ResolvedJan 29, 2020
UpdatedMar 4, 2020
View Jira Issue