Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3
2019.3.13f1
2020.1
2020.2
Issue ID
1248028
Regression
No
ParticleSystem prefab is marked dirty when setting ParticleSystem.useAutoRandomSeed to the same value
How to reproduce:
1. Open the attached 'project-1248028.zip' project and load 'SampleScene'
2. Enter Play mode
3. In the Project window select 'ParticleSystemPrefab'
4. Observe the Console window
Expected result: last logged message is 'IsDirty::::False'
Actual result: last logged message is 'IsDirty::::True'
Reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a12
Could not test with: 2018.4.22f1 (EditorUtility.IsDirty() method not available)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Most of the time we dont check if values are the same before setting things dirty in Unity. Nearly all the properties in the Particle System are set dirty even if the value is the same. If we were to fix this then we would need to fix all the properties to be consistent which adds unnecessary complexity and overhead. It is also possible to just perform the check in a script before setting the value.