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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-295513 in the post.
0 |
Component | UE - Niagara |
---|---|
Affects Versions | 5.4, 5.5, 5.6 |
Target Fix | 5.7 |
Created | Jun 10, 2025 |
---|---|
Updated | Jun 11, 2025 |