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)
Comments (1)
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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
kornman00
Apr 15, 2015 21:26
I'm encountering NaNs with Bounds.Encapsulate operations as well