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.
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
- [iOS] Back Triple Camera is not focusing manually and automatically
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
elias_t
Nov 28, 2017 14:40
Please backport this to Unity 5.6.4.