Search Issue Tracker
Fixed
Fixed in 2021.3.38f1, 2022.3.23f1, 2023.2.16f1, 6000.0.0b12
Votes
4
Found in
2021.3.35f1
2022.3.19f1
2023.2.9f1
2023.3.0b6
6000.0.0b1
Issue ID
UUM-63803
Regression
No
Serialization of Animator Parameters m_Controller fileID switches between "9100000" and "0" when changing the order of Layers or the Parameters
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/AnimatorController“ Animator Controller with a text editor application
3. Search for “m_Controller“
4. Observe the “m_Controller“ values under the “m_AnimatorParameters“
5. Open the “Assets/AnimatorController“ Animator Controller
6. Change the order of Layers by dragging the “Layer1” Layer under the “Layer2“ Layer in the Animator window
7. Change the order of Layers back by dragging the “Layer1“ Layer above the “Layer2“ Layer in the Animator window
8. Save the project (File > Save)
9. Repeat steps 2, 3, 4
Expected result: The “m_Controller” values for “Parameter1“ and “Parameter2“ are “fileID: 0”
Actual result: The “m_Controller” values for “Parameter1“ and “Parameter2“ are changed to “fileID: 9100000”
Reproducible with: 2021.3.35f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b6
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note:
If steps 6 and 7 are done with Parameters instead of Layers, the “m_Controller” values for “Parameter1“ and “Parameter2“ are “fileID: 0”. The “fileID“ seems to change depending on whether the Layers order is changed or the Parameters order is changed.
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
- “Unable to load projects” message is shown in “Add project from repository” window when "All organizations" are selected in the Account menu
- DX12 Player brightness changes when changing Display resolution with Screen.SetResolution()
- Double-sided arrow mouse cursor does not appear when resizing the Player and Input backend is set to Input Manager (Old)
- Project disappears from the Projects list in Unity Hub when the Editor crashes
- The Terrain tools follow the previous Terrain curvature when it was already undone
Resolution Note (fix version 6000.0.0b12):
Changing the order of layers or parameters will now make sure both point to a valid controller, instead of resetting to null in certain case