How to reproduce:
1. Open the attached “IN-98417” project
2. Open the “SampleScene“
3. Enter Play mode
4. Select the “Player” GameObject in the Hierarchy window and use the WASD keyboard buttons to change its position until it touches the “triggerCube” GameObject and enables it in the Game view
5. Keep changing the “Player“ position to switch it between touching the “triggerCube“ GameObject and not touching it
6. Observe the results of the “animatedCube“ GameObject in the Game view
Expected result: The animation starts playing smoothly
Actual result: The animation doesn’t start at the correct position at its start
Reproducible with: 2022.2.0a17, 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Couldn't test with: 2022.1.0a10, 2022.2.0a9 (there isn't a Simulation mode under the Physics tab in the Project Settings)
Reproducible on: MacOS 15.3 (M4), Windows 11 (by user)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Standalone Player
- The issue reproduces if the “triggerCube“ GameObject is enabled using “OnTriggerEnter“ or “OnTriggerStay“
- Changing the Simulation Mode to "Fixed Update" (in the Project Settings > Physics tab) stops the issue from reproducing
- Changing the Culling Mode of the “animatedCube“ GameObject (in the Inspector window > Animator Component) from “Always Animate“ to “Cull Update Transforms“ or “Cull Completely“ stops the issue from reproducing