Search Issue Tracker

Fix in review

Votes

1

Found in

5.0.1f1

Issue ID

689347

Regression

No

IL2CPP: Bounds.Encapsulate on a Bounds of size Infinity sets the bounds to size NaN

Scripting

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

-e: When using IL2CPP, a Bounds of infinite size has its Center and Extents set to NaN values when encapsulating another bounds.

-repro
--open attached project
--run scene in editor
--Log shows: Center: (0.0, 0.0, 0.0), Extents: (1.0, 1.0, 1.0)
--build with il2cpp (webgl, ios)
--run build
--NOTICE log shows: Center: (NaN, NaN, NaN), Extents: (NaN, NaN, NaN)

Comments (1)

  1. Fe3069d05b539fd4d6be83e7cbd00fa5?d=mm

    kornman00

    Apr 15, 2015 21:26

    I'm encountering NaNs with Bounds.Encapsulate operations as well

All about bugs

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