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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment