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
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
- [Settings Search] Search results not always matching search term correctly
- Crash on memcpy when opening a project that loads TSS files
Add comment