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
Comments (14)
- 
        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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
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.