Search Issue Tracker
By Design
Votes
0
Found in
5.3.4f1
Issue ID
791261
Regression
No
BlendTree created through script disappears when starting Play Mode
How to reproduce:
1. Open the attached project
2. Delete ScriptedBlendTree controller in Assets folder as it is corrupted
3. Generate a new controller via script (MyMenu -> Create Controller)
4. Check the controller in animator window. It has one state and BlendTree in it
5. Keep BlendTree open
6. Play the scene, which is empty
7. Notice that Blend Tree shrinks and if you click on it few times it disappears with whole layer
By Design: The BlendTree needs to be added to an asset. Otherwise its not persisted when going in play mode. One can either :
1/ use AssetDatabase.AddObjectToAsset(blendTree, AssetDatabase.GetAssetPath(controller));
or
2/AnimatorController.CreateBlendTreeInController
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment