Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 5.6, 2017.1, 2017.2

Votes

0

Found in

5.6.0p1

Issue ID

918046

Regression

No

Editor crashes at CalculateClosestPoint when collider Bounds are null

Mono

-

Editor crashes at CalculateClosestPoint when collider Bounds are null and accessed by ClosestPoint function.

Steps to reproduce:
1. Download 918045_repro.zip and open "Occlusion_test" scene
2. Open Portal.cs
3. Comment out line 116

Expected results: Editor throws out NullReferenceException error
Actual results: Editor crashes

Reproduced with: 2017.2.0a2, 2017.1.0b8, 5.6.1p2, 5.5.3p4, 5.4.5p1

All about bugs

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