Description

In UNiagaraComponentPool::ReclaimWorldParticleSystem, the cleanup loop for WorldParticleSystemPools calls KillUnusedComponents with the reclaimed component's NiagaraSystem (Asset) instead of the system that each pool is actually associated with (Pair.Key).

for (auto& Pair : WorldParticleSystemPools)
{
    Pair.Value.KillUnusedComponents(CurrentTime - GNiagaraSystemPoolKillUnusedTime, Asset);
}

This may cause incorrect PoolPrimeSize checks. The second argument should likely be changed from Asset to Pair.Key.

Steps to Reproduce
  • Unknown

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Niagara
Affects Versions5.45.55.6
Target Fix5.7
Fix Commit43422123
CreatedJun 10, 2025
ResolvedSep 12, 2025
UpdatedSep 12, 2025
View Jira Issue