Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2018.4
2019.3.0f1
2020.2
Issue ID
1256900
Regression
No
Character Controller snaps downwards when the height needed to step on a GameObject is bigger than the Step Offset value
How to reproduce:
1. Open the attached "CharacterBug.zip" project
2. Open the "SampleScene" Scene
3. Select the "Capsule" GameObject in the Hierarchy window
4. Enter Play Mode
5. Press and hold the A key to move the "Capsule" GameObject to the platforms
6. Observe how the Character Controller behaves when it hits the last platform in the Game view
Expected result: Character Controller with Step Offset value of 0.8 stays in the air (1.08 on the Y-axis) when hits the last platform, which is of height 2
Actual result: Character Controller with Step Offset value of 0.8 is snapped downwards to ~0.295 on the Y-axis when hits the last platform, which is of height 2
Reproducible with: 2018.4.26f1, 2019.4.7f1, 2020.1.1f1, 2020.2.0a20
Notes:
- If the Step Offset value is increased to 0.9, the Character Controller gets snapped downwards to ~0.18 on the Y-axis
- If the Step Offset value is set to 0.6, the Character Controller stays in the air, so it snaps downwards only when the Character Controller's Step Offset value is very close to the height needed to step on the GameObject
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 PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a2