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.

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

Unresolved
ComponentUE - Niagara
Affects Versions5.45.55.6
Target Fix5.7
CreatedJun 10, 2025
UpdatedJun 11, 2025
View Jira Issue