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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a11