Description

When you set the Distribution method to NONE in an initial Mesh Rotation Module of Cascade, cook the content for windows and then Launch for windows (or other non-editor device), the launched game will crash.

From Licensee, "It appears that "None" distribution is handled in the editor. Outside the editor, it leads to an assert in FRawDistributionVector::GetValue() since Distribution is NULL and LookupTable was empty in that case."

Steps to Reproduce
  1. Open a Blank Project with No Starter Content
  2. Create a New Mesh Particle System
  3. Add an Initial Mesh Rotation Module to the Emitter
  4. Set the Distribution to Vector Particle Parameter
  5. Set the Distribution to None
  6. Save Particle System
  7. Place Particle System in Level
  8. Save Level
  9. Set Level to Default Open in Editor and in Launch.
  10. Cook Content for Windows
  11. Launch on Windows

RESULTS: Launched Game will Crash

EXPECTED: No Crash on Launch

Callstack

Assertion failed: !LookupTable.IsEmpty() [Link Removed] [Line: 1095]

KERNELBASE.dll!UnknownFunction (0x000007fefd32940d) + 0 bytes [UnknownFile:0]
UE4Game.exe!FOutputDeviceWindowsError::Serialize() (0x000000013f79370c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Game.exe!FOutputDevice::Logf__VA() (0x000000013f5eee18) + 159 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Game.exe!FDebug::AssertFailed() (0x000000013f5cc479) + 113 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Game.exe!FRawDistributionVector::GetValue() (0x0000000140bcc607) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\distributions.cpp:1098]
UE4Game.exe!UParticleModuleMeshRotation::SpawnEx() (0x0000000141494b57) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particlemodules.cpp:1171]
UE4Game.exe!UParticleModuleMeshRotation::Spawn() (0x000000014149140c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particlemodules.cpp:1160]
UE4Game.exe!FParticleEmitterInstance::SpawnParticles() (0x000000014146692c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particleemitterinstances.cpp:1885]
UE4Game.exe!FParticleEmitterInstance::Spawn() (0x0000000141466561) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particleemitterinstances.cpp:1840]
UE4Game.exe!FParticleEmitterInstance::Tick_SpawnParticles() (0x000000014146b3bc) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particleemitterinstances.cpp:808]
UE4Game.exe!FParticleEmitterInstance::Tick() (0x000000014146842b) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particleemitterinstances.cpp:649]
UE4Game.exe!FParticleMeshEmitterInstance::Tick() (0x0000000141468f59) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particleemitterinstances.cpp:2955]
UE4Game.exe!UParticleSystemComponent::ComputeTickComponent_Concurrent() (0x000000014142b15c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particlecomponents.cpp:3975]
UE4Game.exe!UParticleSystemComponent::TickComponent() (0x0000000141469bb0) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\particles\particlecomponents.cpp:3909]
UE4Game.exe!UActorComponent::ConditionalTickComponent() (0x0000000140a20177) + 22 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\actorcomponent.cpp:1042]
UE4Game.exe!FActorComponentTickFunction::ExecuteTick() (0x0000000140a2acc4) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\actorcomponent.cpp:603]
UE4Game.exe!FTickTaskSequencer::FTickFunctionTask::DoTask() (0x000000014107f93c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\ticktaskmanager.cpp:322]
UE4Game.exe!TGraphTask<FTickTaskSequencer::FTickFunctionTask>::ExecuteTask() (0x000000014108a5f6) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\async\taskgraphinterfaces.h:671]
UE4Game.exe!FTaskThread::ProcessTasks() (0x000000013f50728f) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Game.exe!FTaskThread::ProcessTasksUntilQuit() (0x000000013f50745d) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Game.exe!FTaskGraphImplementation::WaitUntilTasksComplete() (0x000000013f5265f6) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\async\taskgraph.cpp:984]
UE4Game.exe!FTaskGraphInterface::WaitUntilTaskCompletes() (0x000000013f6b4df5) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\async\taskgraphinterfaces.h:189]
UE4Game.exe!FTickTaskSequencer::ReleaseTickGroup() (0x00000001410b31b1) + 396 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\ticktaskmanager.cpp:187]
UE4Game.exe!FTickTaskManager::RunTickGroup() (0x00000001410b5957) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\ticktaskmanager.cpp:722]
UE4Game.exe!UWorld::RunTickGroup() (0x0000000140d67eb5) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\leveltick.cpp:696]
UE4Game.exe!UWorld::Tick() (0x0000000140d6d839) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\leveltick.cpp:1120]
UE4Game.exe!UGameEngine::Tick() (0x0000000140beaf85) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\engine\private\gameengine.cpp:830]
UE4Game.exe!FEngineLoop::Tick() (0x000000013f4a10cd) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\launchengineloop.cpp:2257]
UE4Game.exe!GuardedMain() (0x000000013f49269c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\launch.cpp:142]
UE4Game.exe!GuardedMainWrapper() (0x000000013f4926ea) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Game.exe!WinMain() (0x000000013f4a2f09) + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Game.exe!__tmainCRTStartup() (0x000000014241cdd9) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll!UnknownFunction (0x00000000773659ed) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x000000007749c541) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x000000007749c541) + 0 bytes [UnknownFile:0]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.7.64.84.8.14.9
Target Fix4.9
Fix Commit2603705
CreatedJun 24, 2015
ResolvedJun 29, 2015
UpdatedApr 27, 2018
View Jira Issue