Search Issue Tracker

By Design

Votes

0

Found in

5.5.0p1

Issue ID

872158

Regression

No

New AnimatorControllerLayers get created without a default StateMachine when creating through script

Animation

-

Steps to reproduce:
1. Open the newest attached project "Layers.zip"
2. Go to Window/Generate Animation Controller and save it
3. View the newly created animator controller in the Animator window

Expected Behaviour: all layers have regular default states and stateMachines
Actual Behaviour: last layer is completely empty and nothing can be properly done with it

Reproduced on: 5.3.7p2, 5.4.4p1, 5.5.0p1, 5.5.1f1. 5.6.0b5

Notes:
-unable to get or set stateMachine because default one does not exist(NullRefference error)
-can still set the name, defaultWeight and other parameters

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.