Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
3
Found in
2019.3.0b8
2019.3.0f3
2020.1.0a9
Issue ID
1206498
Regression
Yes
Crash on ParticleSystem::EndUpdateAll() when exiting Play mode while a Particle System is simulating
How to reproduce:
1. Open the attached project '1206498.zip'
2. Open 'Main Menu (Console)' scene
3. Enter Play mode
4. Exit it
-- observe the crash
Reproducible with: 2019.3.0b8, 2019.3.0f5, 2020.1.0a9, 2020.1.0a18
Not reproducible with: 2018.4, 2019.2, 2019.3.0b7, 2020.1.0a8
First few lines of the stack trace:
#0 0x005566b764287e in ParticleSystem::EndUpdateAll()
#1 0x005566b764314d in ParticleSystem::InitializeClass()::PostLateUpdateParticleSystemEndUpdateAllRegistrator::Forward()
#2 0x005566ba0133fe in ExecutePlayerLoop(NativePlayerLoopSystem*)
#3 0x005566ba01346a in ExecutePlayerLoop(NativePlayerLoopSystem*)
Note:
- In the UIParticleRenderer.cs script the Start() method starts simulating a Particle System for 10 seconds, to reproduce the crash you have to exit Play mode in that period
-
karl_jones
Mar 20, 2020 18:46
Could you please file a bug report if you are still suffering from a crash.
-
GainfulSage
Mar 20, 2020 02:02
Just got this crash on 2019.3.6f.
-
luvjungle
Mar 17, 2020 08:22
Still happening in 2019.3.5
Or this bug
https://issuetracker.unity3d.com/issues/particle-system-that-has-a-stop-action-gets-cleared-after-being-paused-for-a-whileEither way, 2019.3 build of my game is completely broken, need to rollback, i guess
-
daniel-hall
Mar 13, 2020 12:20
I'm still getting this on 2019.3.5f1.
-
Safemilk
Mar 09, 2020 00:09
Just confirmed this in 2019.3.4f1 using HDRP.
-
luvjungle
Mar 05, 2020 19:59
2019.3.3 crashing without exiting editor.
Crashing on adroid build too -
felixmann
Mar 04, 2020 01:01
Getting this issue on 2019.3.3f1 while playing a scene. Do not have to stop the scene to hit the crash.
-
matheustaveiros
Mar 04, 2020 00:09
Same here, Unity 2019.3.3f1 still crashing on Editor and android build.
-
wilczarz_84
Feb 18, 2020 11:40
One more thing. This issue does not require to exit playmode. It just happens during the gameplay
-
wilczarz_84
Feb 18, 2020 11:36
Same here, the Unity is crashing all the time because of the particle system. Practically all versions above 2019.3.0f1 is affected. The newest one 2019.3.1f1 does NOT fix this!
@ MRDIZZLE26 I also have my pooling system. I suspect the crash is happening when I call
particle.Stop(true, ParticleSystemStopBehavior.StopEmittingAndClear);However I am not sure which particle causes this. My stop behaviour is probably Callback.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
karl_jones
Jan 04, 2020
The issue is caused when a system has a stop action and gets destroyed while it is culled.
We have a fix which will be available soon.