Search Issue Tracker

Fixed in Unity 2017.3

Votes

0

Found in

5.6.0p1

Issue ID

918046

Regression

No

Editor crashes at CalculateClosestPoint when collider Bounds are null

Mono

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash or major loss of functionality

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.