Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0b6

Issue ID

636340

Regression

No

Removing state behaviour throws a warning during next play mode

Animation

-

Repro:

1. Add two states and add two simple state behaviours to them - like Debug.Log("hello"); etc
2. Run the scene and check that the messages fire
3. Remove behaviour from one of the states
4. Run the scene again
5. Notice the warning: StateMachineBehaviour NULL reference it comes up when the deleted behaviour is supposed to kick in.
6. Reopen the project - the project is fixed: the deleted behaviour doesn't cause the wrning to come up again.

Add comment

Log in to post comment