Description

Crash compiling System when a Dynamic Input only outputs a numeric value

Crash occurs using Scratchpad and a Dynamic Input Script asset. 

The crash does not occur if I connect a parameter to the sine node. 

Steps to Reproduce
  1. Open a project
  2. Open a new niagara system
  3. Set Initialize Particle > Color to a new Scratchpad Dynamic Input Script
  4. In the graph, place a Sine node
  5. Connect the sine to the Output node
  6. Apply the changes to the Scratch script
  7. Compile the System

Result: Editor crashes

Callstack
Assertion failed: TableIndex < ConstantTableCount [File:D:\P4Workspaces\Release\Engine\Source\Runtime\VectorVM\Public\VectorVM.h] [Line: 420]

UE4Editor_Core!AssertFailedImplV() [d:\p4workspaces\release\engine\source\runtime\core\private\misc\assertionmacros.cpp:100]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\p4workspaces\release\engine\source\runtime\core\private\misc\assertionmacros.cpp:450]
UE4Editor_VectorVM!FConstantHandler<int>::FConstantHandler<int>() [d:\p4workspaces\release\engine\source\runtime\vectorvm\private\vectorvm.cpp:311]
UE4Editor_VectorVM!FBatchedWriteIndexedOutput::DoRegisterKernelFixedValid<FBatchedWriteIndexedOutput::FSplatOp<FConstantHandler<int> > >() [d:\p4workspaces\release\engine\source\runtime\vectorvm\private\vectorvm.cpp:2580]
UE4Editor_VectorVM!<lambda_784bb9334d9d2fd4767757de1e219f76>::operator()() [d:\p4workspaces\release\engine\source\runtime\vectorvm\private\vectorvm.cpp:2319]
UE4Editor_VectorVM!VectorVM::Exec() [d:\p4workspaces\release\engine\source\runtime\vectorvm\private\vectorvm.cpp:2460]
UE4Editor_Niagara!FNiagaraScriptExecutionContext::Execute() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarascriptexecutioncontext.cpp:217]
UE4Editor_Niagara!<lambda_0e30feaeb2d081cb532dc03d4e9f96e7>::operator()() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagaraemitterinstance.cpp:1447]
UE4Editor_Niagara!FNiagaraEmitterInstance::Tick() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagaraemitterinstance.cpp:1464]
UE4Editor_Niagara!FNiagaraSystemInstance::Tick_Concurrent() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarasysteminstance.cpp:2074]
UE4Editor_Niagara!FNiagaraSystemSimulation::FlushTickBatch() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarasystemsimulation.cpp:614]
UE4Editor_Niagara!FNiagaraSystemSimulation::Tick_Concurrent() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarasystemsimulation.cpp:1103]
UE4Editor_Niagara!FNiagaraSystemSimulation::Tick_GameThread() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarasystemsimulation.cpp:848]
UE4Editor_Niagara!FNiagaraSystemInstance::ComponentTick() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagarasysteminstance.cpp:1914]
UE4Editor_Niagara!UNiagaraComponent::TickComponent() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagara\private\niagaracomponent.cpp:620]
UE4Editor_Engine!FActorComponentTickFunction::ExecuteTickHelper<<lambda_e425ef5a146b3170549ca592e58b30c6> >() [d:\p4workspaces\release\engine\source\runtime\engine\classes\gameframework\actor.h:3471]
UE4Editor_Engine!FActorComponentTickFunction::ExecuteTick() [d:\p4workspaces\release\engine\source\runtime\engine\private\components\actorcomponent.cpp:976]
UE4Editor_Engine!FTickFunctionTask::DoTask() [d:\p4workspaces\release\engine\source\runtime\engine\private\ticktaskmanager.cpp:283]
UE4Editor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\p4workspaces\release\engine\source\runtime\core\public\async\taskgraphinterfaces.h:849]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\p4workspaces\release\engine\source\runtime\core\private\async\taskgraph.cpp:692]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\p4workspaces\release\engine\source\runtime\core\private\async\taskgraph.cpp:587]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\p4workspaces\release\engine\source\runtime\core\private\async\taskgraph.cpp:1479]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\p4workspaces\release\engine\source\runtime\engine\private\ticktaskmanager.cpp:558]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\p4workspaces\release\engine\source\runtime\engine\private\ticktaskmanager.cpp:1523]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\p4workspaces\release\engine\source\runtime\engine\private\leveltick.cpp:783]
UE4Editor_Engine!UWorld::Tick() [d:\p4workspaces\release\engine\source\runtime\engine\private\leveltick.cpp:1558]
UE4Editor_NiagaraEditor!FNiagaraSystemViewportClient::Tick() [d:\p4workspaces\release\engine\plugins\fx\niagara\source\niagaraeditor\private\widgets\sniagarasystemviewport.cpp:99]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\p4workspaces\release\engine\source\editor\unrealed\private\editorengine.cpp:1770]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\p4workspaces\release\engine\source\editor\unrealed\private\unrealedengine.cpp:427]
UE4Editor!FEngineLoop::Tick() [d:\p4workspaces\release\engine\source\runtime\launch\private\launchengineloop.cpp:4845]
UE4Editor!GuardedMain() [d:\p4workspaces\release\engine\source\runtime\launch\private\launch.cpp:169]
UE4Editor!GuardedMainWrapper() [d:\p4workspaces\release\engine\source\runtime\launch\private\windows\launchwindows.cpp:137]
UE4Editor!WinMain() [d:\p4workspaces\release\engine\source\runtime\launch\private\windows\launchwindows.cpp:266]
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-91666 in the post.

2
Login to Vote

Cannot Reproduce
ComponentUE - Rendering - Niagara
Affects Versions4.25
Target Fix4.25
CreatedApr 7, 2020
ResolvedApr 8, 2020
UpdatedApr 9, 2020