Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2019.1.X, 2019.2.X

Votes

3

Found in

2018.1.8f1

Issue ID

1065886

Regression

No

Crash on GameObject::SendMessageAny when detached Child GameObject's Collision destroys Parent GameObject

Physics2D

-

How to reproduce:
1. Open the attached "TestFor1065886.zip" project
2. Play the Scene
3. Notice that Editor crashes

Reproducible with: 2017.1.5f1, 2017.2.3p3, 2017.4.8f1, 2018.1.9f1, 2018.2.2f1, 2018.3.0a7

Note: Rigidbody2D or any type of Joint2D Component must be added to the Child GameObject via Script for crash to occur

Stack Trace:
(Unity) GameObject::SendMessageAny
(Unity) PhysicsManager2D::SendCallbackReports
(Unity) PhysicsManager2D::ProcessContacts
(Unity) PhysicsManager2D::Simulate

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.