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
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
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