Reproduction steps:
1. Open the attached “Repro2.zip“ project
2. Open the “RootMotionBug” scene
3. Enter Play mode
4. Select “BasicMotionsDummyModel” GameObject and enable “Walk” property of “Root Motion Bug” Component
5. Wait for 2-3 seconds and disable “Walk” property
6. Observe Game window
Expected result: “BasicMotionsDummyModel” GameObject stops moving where it walked
Actual result: “BasicMotionsDummyModel” GameObject stops moving in its starting location
Reproducible with: 2020.3.46f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
Reproduced on: macOS Monterey 12.6 (Intel), Windows 10 (by the reporter)
Note: The “RootMotionBug.cs” script has the code that causes the bug