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
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Add comment