Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.3.0a6

Issue ID

1064407

Regression

No

[Improved Prefab] [Composite Collider 2D] Editor crashes when trying to create nested prefab using CompositeCollider2D

Physics2D

-

Editor crashes when trying to create nested prefab using CompositeCollider2D

Steps to Repro:
1. open the scene Collider2D in attached project
2. select the game object called 006 in the scene (group of nested sprites each with PolygonCollider2D that uses CompositeCollider2D)
3. drag this into the Assets folder to create a prefab

The editor crashes.

========== OUTPUTTING STACK TRACE ==================

0x0000000141BFAA37 (Unity) Collider2D::CalculateColliderTransformation
0x0000000141BFC623 (Unity) Collider2D::CreateFixtures
0x0000000141BFB6AB (Unity) `Collider2D::InitializeClass'::`2'::FunctorImpl_83kCompositeColliderRemoved::Call
0x00000001405AC01C (Unity) GameObject::SendMessageAny
0x000000014019FD04 (Unity) Transform::BroadcastMessageAny
0x0000000141BFCCD2 (Unity) CompositeCollider2D::Deactivate
0x00000001408DDEF8 (Unity) DestroyObjectHighLevel
0x0000000140CBE88B (Unity) InstantiateObjectRemoveAllNonAnimationComponents
0x00000001422AC777 (Unity) EditorUtility_CUSTOM_Internal_InstantiateRemoveAllNonAnimationComponentsSingle_Injected
0x000000000D717560 (Mono JIT Code) (wrapper managed-to-native)

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.