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
-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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
kornman00
Apr 15, 2015 21:26
I'm encountering NaNs with Bounds.Encapsulate operations as well