Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.0.0f5

Issue ID

498014

Regression

No

Character Controller. stepOffset can be set to negative

Physics

-

CharacterController parameter stepOffset validation is missed in runtime, the value can be set as negative, which causes unexpected behaviour (in UI negative values dropped to 0).
The expected behaviour would be throwing an exception or a warning, or substituting the value with a default one.

1. Open attached project and run.
2. See that stepOffset changed to -0.5. Watch the capsule object "flying"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.