Search Issue Tracker

Duplicate

Votes

4

Found in

5.3.0f4

Issue ID

755345

Regression

Yes

When disabling collider within the OnTriggerStay function, VS runtime error appears after which Unity closes

Physics

-

Reproduction steps:
1. Open attached project
2. Open and play the "Crash" scene
3. Visual Studio runtime error appears after which Unity closes (no stack trace and bug reporter doesn't appear, check Repro.gif)

Expected result: Unity should not close after the error.

Note: With OnTriggerEnter and OnCollisionStay functions everything works as expected.

Regression introduced in: 5.3

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.