Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.4.0b2

Issue ID

762708

Regression

No

[Shuriken] Crash upon assigning the wrong particle List to the wrong ParticleSystemTriggerEventType via script

Shuriken

-

Unity crashes if the wrong list of particles gets assigned to the wrong trigger event type.

Repro steps:
1. Open Bug_Crash scene from attached project.
2. Press play.
3. Unity Crashes.

Expected outcome: error message / handling for exception.

Notes:
- Crash happens because of last line of ParticleTrigger script:
ps.SetTriggerParticles(ParticleSystemTriggerEventType.Outside, inside);
should be
ps.SetTriggerParticles(ParticleSystemTriggerEventType.Outside, outside);

Not a regression; new feature in 5.4.0b1

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.