Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
6
Found in
2017.1.2f1
Issue ID
957427
Regression
Yes
Unity crashes when emitting particles from script and using a Size module, if system has not been updated yet
How to reproduce:
1. Open user attached project "Ralliz"
2. Open "track1a" scene
3. Add "Ground Material Manager" prefab from EVP5 folder
4. Enter play mode
5. Do some donuts with car to make it slide and enable particles with written "TireParticleEmitter" script
--Unity crashes
Expected result: Particles should start when car is sliding
Actual result: Crash
Regression first introduced in: 2017.1.1p3
Reproducible with: 2017.1.1p3 2017.1.2f1, 2017.2.0f2, 2017.3.0b3
Not reproducible with: 5.6.3p4, 2017.1.0b7, 2017.1.0p4, 2017.1.1p1, 2017.1.1p2
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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
shubhamswaraj2021
Aug 18, 2020 15:54
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
zangad
Nov 21, 2017 02:54
This is listed as fixed, but I just confirmed it still happens in 2017.2.0f3. Grofie's and Zarlang's fix worked for me as a hack.
grofie
Nov 13, 2017 08:48
The patch release (2017.2.0p1) does not work for me.
But Zarlang's 'fix' helps. (Thx allot!)
I end up using this in my world particle manager, so I only have to call it once:
void Start ()
{
Debug.LogWarning("Preventing UNITY CRASH 957427: https://issuetracker.unity3d.com/issues/unity-crashes-when-particles-are-awaken-by-script");
foreach (ParticleSystem l_ParticleSystem in m_ParticleSystems)
{
l_ParticleSystem.Emit(1);
l_ParticleSystem.Clear();
}
}
Gustav
Nov 11, 2017 22:23
Still happens in 2017.2.0f3
RichGarcia
Nov 10, 2017 20:52
Still happens in 2017.2.0p1
Zarlang
Nov 09, 2017 22:14
If you manage to fix this crash using this:
- Call Emit(1)
- Call Clear
you still end up with a performance spike due to the Size Over Lifetime module
demonpants
Nov 07, 2017 17:25
I found this issue as well. Will try the patch release.