Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
905832
Regression
Yes
Changing CapsuleCollider radius in runtime through code makes the height of the rigidbody change
To reproduce:
1. Open an Attached Unity project "Rigidbodybug"
2. Open scene "scene"
3. Window --> Physics Debugger
4. Press Play
Expected result: Both manually written and code generated radius should result in the same size of the rigidbody
Actual result: code generated radius affects the height of the rigidbody
Reproduced on: 5.6.0f1, 5.6.0f3, 5.6.0p4, 2017.1.0b3
Can't test on 5.5 and older versions of Unity since Physics Debugger was not yet implemented.
Note: ''CapsuleRadiusByCode'' and ''CapsuleManuallySetRadius'' are exactly the same except that ''CapsuleManuallySetRadius'' radius is set to 0.25 in the editor
and ''CapsuleRadiusByCode'' radius is set to 0.5 but changes to 0.25 when in play mode.
Note: in attached picture playmode.png on the left is ''CapsuleManuallySetRadius'' and ''CapsuleRadiusByCode'' is on the right.
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
elias_t
Nov 28, 2017 14:40
Please backport this to Unity 5.6.4.