Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.1.0a19
2020.2
2020.2.6f1
2020.3
2021.1
2021.2
Issue ID
1319658
Regression
Yes
Crash on ParticleSystem_ShapeModule_CUSTOM_set_sprite_Injected when changing the shape.sprite of a null ParticleSystem
How to reproduce:
1. Open the attached project ('case-1319658.zip')
2. Open the 'SampleScene' Scene
3. Enter Play Mode
Reproducible with: 2020.1.0a19, 2020.2.7f1, 2020.3.0f1, 2021.1.0b8, 2021.2.0a9
Not reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.1.0a18
First lines of the stack trace:
0x00007ff671490eca (Unity) ParticleSystem_ShapeModule_CUSTOM_set_sprite_Injected
0x000001bfa838ebcd (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ParticleSystem/ShapeModule:set_sprite_Injected (UnityEngine.ParticleSystem/ShapeModule&,UnityEngine.Sprite)
0x000001bfa838eb23 (Mono JIT Code) UnityEngine.ParticleSystem/ShapeModule:set_sprite (UnityEngine.Sprite)
Notes:
- This error message is thrown in the non-reproducible versions: 'NullReferenceException: Do not create your own module instances, get them from a ParticleSystem instance'
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] Profiler (Standalone Process) "Live" button is greyed out by default
- UIToolkit bindings on RadioButtonGroup is not displaying the selected radio button when the choice list is bound
- Sprite shadows are not rendered when the light source is placed near the sprite
- Multiple Video Players are not playing simultaneously when played in WebGL
- "Rename Prefab File?" window does not pop up when renaming Prefab in the Project window
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a10
Resolution Note (fix version 2021.1):
Fixed in 2021.1.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.4f1