Search Issue Tracker

Fixed in 5.5.3

Votes

0

Found in

5.5.2p1

Issue ID

888580

Regression

No

[Standard Assets] ParticleSystemDestroyer.Stop fails to stop particle system

Visual Effects - Legacy

-

Reproduction Steps:
1. Import attached project.
2. Open "main" scene.
3. Enter Play mode.
4. Observe console.

Expected result: ParticleSystemStopEarly.cs should stop the Particle System in the Hierarchy. The script calls out the Stop function, which is supposed to stop the Particle System early.
Actual result: ParticleSystemDestroyer.Stop does nothing.

Note: A possible fix is to change line 35 in ParticleSystemDestoyer.cs from
"while (Time.time < stopTime || m_EarlyStop)"
to
"while (Time.time < stopTime && !m_EarlyStop)"

Reproducible with: 5.4.5f1, 5.5.2p3, 5.6.0f1, 2017.1.0a4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.