Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.3.0b1

2018.3.0b3

Issue ID

1081979

Regression

Yes

Unity crashes when instantiating a Prefab with Box Collider 2D and Composite Collider 2D

Physics2D

-

How to reproduce:
1. Open the attached project (BoxCollider2DIssue.zip)
2. Enter the play mode

Expected result: Prefab is instantiated without any issues
Actual result: Unity crashes trying to instantiate the Prefab

Reproduces in: 2018.3.0b3, 2019.1.0a2
Does not reproduce in: 2017.4.11f1, 2018.1.9f2, 2018.2.9f1

Note: The Prefab has to have Box Collider 2D, Composite Collider 2D and Rigidbody 2D (comes with the Composite Collider) and "Used by Composite" must be enabled in the Box Collider 2D. It crashes on this line: 0x0000000141C0ABCA (Unity) BoxCollider2D::PrepareShapes

Fixed in: 2019.1.0a3

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.