Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1306258
Regression
No
Crash when SpriteRenderer.sprite.GetPhysicsShape() gets null passed in as physicsShape parameter
How to reproduce:
1. Open the user's attached project ("Crash Test.zip")
2. Load "SampleScene"
3. Enter Play mode
Reproducible with: 2018.4.31f1, 2019.4.19f1, 2020.2.3f1, 2021.1.0b4, 2021.2.0a3
Note: Crash happens in CrashTester.cs line 17
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
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
- Warning “CommandBuffer: built-in render texture type 3 not found while executing (SetRenderTarget depth buffer)“ is present when opening a specific URP project
- GameObjects are transparent when a custom fog renderer feature is enabled
Resolution Note (fix version 2021.2):
Fixed in Unity: 2021.2.0a5 and above