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
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Add comment