Reproduction steps:
1. Open the users attached “repro project”
2. Open “SampleScene“
3. Enter Play Mode and observe that both GameObjects are animated
4. Build and Run the project
Expected result: both GameObjects are animated the same, just like in Play Mode
Actual result: the right GameObject is animated only for some of the animation clips
Reproducible with: 1.0.0-pre.15 (2022.2.12f1, 2023.1.0b9, 2023.2.0a7)
Couldn’t test with: 0.51.1-preview.21 (2020.3.46f1, 2021.3.22f1), 1.0.0-pre.47 (2022.2.8f1) (due to compiler errors)
Reproducible on: macOS Catalina 10.15.7 (Intel), Windows 10 (By the reporter)
Note: 1.0.0-pre.47 (2022.2.8f1) was reproduced by the reporter