Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1315029
Regression
No
Animator GetLayerWeight always returns 0 when calling it on the Base Layer (index 0)
How to reproduce:
1. Open the attached project (case_1315029-AnimatorGetLayerWeight)
2. Open SampleScene
3. Click Play
4. Observe the Console
Expected result: 1 is printed to the Console
Actual result: 0 is printed to the Console
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
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
- [WebGL] ExposedReference<Transform>.Resolve() is not generated correctly in WebGL
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a11