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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment