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

2D

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in Unity: 2021.2.0a5 and above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.