Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b6
Issue ID
769885
Regression
Yes
[BlendTrees] When playing scene with a blend tree selected in the inspector, an error is thrown
How to reproduce:
1. Open attached project
2. Open scene scene.unity
3. Open the Animator window
4. Go down into the Blend Tree layer
5. Select the Blend Tree
6. Play the scene
- Note the error in the console:
get_skinIndex is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'BlendTreeInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.BlendTreeInspector:.cctor()
- Reproduced in Version 5.4.0b6 (2c3d6b93e789), Version 5.4.0b5 (9e4e230b6d3e)
- Not reproducible in Version 5.3.2f1 (e87ab445ead0), Version 5.2.4f1 (98095704e6fe)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Desktop Linux runtime does not respect -popupwindow command line argument
- Shader Graph more options dropdown button does not open the dropdown when clicked all the way to the right of the button
- “Attempting to draw with missing bindings“ warning lacks root cause indication and is thrown each frame when StructuredBuffer is accessed on DirectX12
- Shader Graph Import Settings documentation leads to "Sorry... that page seems to be missing!" page when opened through the documentation button in the Inspector window
- Unexpected Material change/transparency when switching between ShaderGraph and material at runtime in HDRP
Add comment