Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
2
Found in
2021.3.46f1
2022.3.53f1
6000.0.28f1
6000.1.0a5
6000.2.0a1
Issue ID
UUM-87841
Regression
No
Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
NOTE FROM [~alexandru]: DO NOT CLOSE THIS CASE BECAUSE IT IS ALIVE FOR TOO LONG. PLEASE REACH OUT FIRST AND WE CAN DISCUSS CONVERTING IT.
Reproduction steps:
1. Open the attached “Bug.zip” project
2. Open the “SampleScene”
3. Select the “Parent” GameObject from the Hierarchy
4. Observe the Box Collider Gizmo in the Scene view
Expected result: The Box collider matches the Cube transforms
Actual result: The Box collider does not match the Cube transforms
Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.28f1, 6000.1.0a5
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- The skewing of the rotated Cube is expected due to its parent having non-uniform Scale based on: [https://issuetracker.unity3d.com/issues/rotation-causes-skewing-when-transform-is-a-child-of-a-non-uniformly-scaled-transform|https://issuetracker.unity3d.com/issues/rotation-causes-skewing-when-transform-is-a-child-of-a-non-uniformly-scaled-transform|smart-link], but then the Collider should match the skewing
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
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
appellod
Nov 20, 2024 06:54
Same behavior with Mesh Colliders. Hoping at the very least Mesh Colliders can match the visual skew. I can understand if the physics engine doesn't want to warp a Box Collider.