Steps to Reproduce

A licensee reported a crash which was caused by use after free of FXSystem.

The callstack catched by the user is [Link Removed], and could be debuggable with this project [Link Removed] .

The repro steps for debugging are:

  1. Open engine solution and put breakpoint at FFXSystem::~FFXSystem()void FPSCPool::Cleanup() and void FFXSystem::RemoveGPUSimulation(FParticleSimulationGPU Simulation)*
  2. Click the Play button and wait until the particle disappeared
  3. Click the Stop button then goes into the breakpoint.

You could see the FFXSystem::IsPendingKill() is invoked after it's freed.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Niagara
Affects Versions4.26
Target Fix4.27
Fix Commit15659041
Main Commit15659041
CreatedMar 18, 2021
ResolvedJun 1, 2021
UpdatedJun 2, 2021
View Jira Issue