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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment