Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.42f1
2021.3.14f1
2022.1.23f1
2022.2.0f1
2023.1.0a20
Issue ID
UUM-20012
Regression
No
GameObject remains constrained by previous animation keys after animation state transitions
Reproduction steps:
1. Open the “AnimationIssue“ project
2. Open the “SampleScene” scene
3. Enter the Play Mode
4. Observe the left-and-right-moving “Bad” GameObject
Expected result: the GameObject also rotates
Actual result: the GameObject does not rotate
Reproduced in: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a20
Reproduced using: macOS Monterey 12.0.1 (Intel)
Notes:
- We expect to be able to rotate the animated GameObject via script when its current animation does not animate rotation
- Being unable to rotate the animated GameObject seems to be a byproduct of a previous animation state that animated rotation
- Also reproduced in Player
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
This is caused by a limitation of the Animator. Once a transform vector is animated, the channel is binded to the Animator and cannot be altered from an external source, like a script.
Workaround: One way to work around this problem is to use an additional GameObject in the hierarchy for your script transforms, keeping them independent from the animated GameObjects, although in the same hierarchy.