Search Issue Tracker

Fixed in 2018.3

Fixed in 2018.3, 2019.1

Votes

0

Found in

2018.3.0a5

2018.3.0f2

Issue ID

1113683

Regression

Yes

Crash on CastFilter::preFilter when calling Physics.OverlapSphereNonAlloc with radius of float.MaxValue

Physics

-

How to reproduce:
1. Open the attached project
2. Open the "SampleScene.unity" scene
3. Press Play

Reproducible with: 2019.2.0a1, 2019.1.0a14, , 2018.3.3f1, 2018.3.0a5,
Regression introduced in: 2018.3.0a5.
Not reproducible with: 2018.3.0a1, 2018.3.0a4, 2018.2.20f1.

Notes:
The crash happens on line "Physics.OverlapSphereNonAlloc(Vector3.zero, float.MaxValue, colliders, layerMask);" PhysicsOverlapTest.cs: 18.
The crash doesn't happen if GameObjects are not destroyed.

------------------------------
fixed in 2019.2.0a7, 2019.1.0b7, 2018.3.10f1.

All about bugs

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