Search Issue Tracker

Fixed

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

-

-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. kornman00

    Apr 15, 2015 21:26

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

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.