Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.39f1
2021.3.9f1
2022.1.14f1
2022.2.0b7
2023.1.0a9
2023.2.0a1
2023.3.0a3
Issue ID
UUM-14294
Regression
No
Animator Component gives incorrect Layer count when using animator.layerCount
How to reproduce:
1. Open the attached project “IN_14247”
2. Open “SampleScene” in Scenes
3. Select the "Game Object" GameObject
4. In the Inspector right click on “Layer Count Logger” Script and press “PrintLayerCount"
5. Observe the results in the Console
6. In the Project folder open “New Animator Controller” Animator Controller
7. Add additional Layer
8. Select the "Game Object" GameObject
9. In the Inspector right click on “Layer Count Logger” Script and press “PrintLayerCount"
10. Observe the result in the Console
Expected result: “2” is printed in the Console
Actual result: “0” is printed in the Console
Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.1.14f1, 2022.2.0b7, 2023.1.0a9
Reproducible on: Windows 10 Pro
Workaround:
1. Disable and reenable the Animator component
2. Repeat steps from “How to reproduce” 2-4
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues, as well as delivering the new animation system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However we know each case is different, so please continue to log any issues you find, as well as provide any general feedback on our roadmap page to help us prioritize.
Forum announcement: https://forum.unity.com/threads/animation-status-update-q2-2023.1445425/
Roadmap: https://unity.com/roadmap/unity-platform/3d-characters-and-animation