- Home /
"StateMachineBehaviour" Not working for sub sates ?
"OnStateMachineEnter / Exit" not working for sub states as mentioned in the docs it is very good for sub state not to trigger anything if transitioned between states in a sub state however OnStateEnter / Exit is triggering on every enter and exit for states in the sub state "however i didn't put any behavior scripts on the states just one on the main sub state" i'm really confused there is 2 used info one in the comments in the behavior script and one in the docs Any help is appreciated
Your answer
![](https://koobas.hobune.stream/wayback/20220612085909im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
"Only assignment, call, increment, decrement and new object expressions can be used as statements" 1 Answer
Animation plays only once 1 Answer
How to follow a target (prefab) with the visual scripting: Behavior machine Pro? 0 Answers
Transition to multiple states from Entry Node in Unity 5 1 Answer
MeshCombineUtility problem after upgrade to Unity 5? 2 Answers