Open Issues Need Help
View All on GitHubAI Summary: Debug and fix a bug in a Unity hierarchical state machine framework where the `GetComponent<Animator>()` call within the `OnEnter()` method of a state returns an 'Instance not found' error. The likely causes are the context's `Awake()` being called earlier than the state's `OnEnter()`, or the context not being properly set when `OnEnter()` is called. The solution involves investigating the timing of `Awake()` and `OnEnter()` calls, ensuring the context is correctly assigned, and potentially adjusting the order of initialization or using a different method to access the Animator component.
StateForge is a hierarchical finite state machine framework for Unity that allows you to create complex state machines with ease. It provides a visual editor and runtime support for state machines, making it easy to manage game states and transitions.
AI Summary: Implement a Unity editor window that visually displays the hierarchical state machine's active branch and all available states for a selected GameObject. The window should clearly show the current active state path (from root to leaf) and a list of all other states associated with the GameObject's state machine.
StateForge is a hierarchical finite state machine framework for Unity that allows you to create complex state machines with ease. It provides a visual editor and runtime support for state machines, making it easy to manage game states and transitions.