Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0f3
Issue ID
1002136
Regression
No
Renderer.Bounds.Size returns inaccurate size for rotated round objects
Steps to reproduce:
1. Open “BoundsSize.zip” Unity project
2. Open “Main” scene
3. Select “Sphere” object in Hierarchy
4. Change object’s transform rotation to (45, 45, 0) in Inspector
Expected results:
Renderer.Bounds.Size does not change after changing rotation
Actual results:
Renderer.Bounds.Size increases significantly
Reproduced in: 2018.2.0a1, 2018.1.0b7, 2017.3.1p1, 2017.2.1p4, 2017.1.3p1, 2017.1.0a1
_________
By design:
The renderers bounds are an AABB of the meshes bounds rotated by the transform, this is for performance reasons as calculating the position of every vertex and creating the bounds every frame for every object is not optimal.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment