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
-
wagenheimer
Jan 24, 2020 02:07
I can confirm this crash happens on Android Build using Unity 2019.3.0f5.
Native StackTrace:
Thread 0 (crashed)
0 libunity.so 0x00000000d362140c ParticleSystem::EndUpdateAll() (ParticleSystem.cpp:2436)
1 libunity.so 0x00000000d329b13d ExecutePlayerLoop(NativePlayerLoopSystem*)
2 libunity.so 0x00000000d329b159 ExecutePlayerLoop(NativePlayerLoopSystem*)
3 libunity.so 0x00000000d329b2e5 PlayerLoop()
4 libunity.so 0x00000000d3371769 UnityPlayerLoop()
5 libunity.so 0x00000000d337eba5 nativeRender(_JNIEnv*, _jobject*)
6 base.odex 0x00000000d42e3b63 <system symbols missing>Will the upcoming also fix the problem for builds?
-
Noname1122
Jan 21, 2020 19:15
I just received this issue as well on updating to 2019.3.0f5. It is 100% reproduceable.
-
MrDizzle26
Jan 16, 2020 21:57
I'm still having this issue, Editor crashes in play mode
PostLateUpdateParticleSystemEndUpdateAllRegistrator
Seems to be related to the particles in my object pooling system.
-
Saturn1004
Jan 03, 2020 11:36
I'm pretty sure I'm having this same bug without exiting play mode.
It's crashing sometimes for me when a particle system is destroyed while playing, and it happens in out-of-editor builds which makes it a higher priority issue than the initial report suggests.
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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.