Reply To: How to – create and run a FSM at runtime

Forums 💬 NodeCanvas ⚙️ Support How to – create and run a FSM at runtime Reply To: How to – create and run a FSM at runtime

#16348
Gavalakis
Keymaster

    Hello again 🙂

    After looking into this for a bit, the initial source of the problem is the fact that serialization is no happening in playmode. Digging into this a bit more, I decided to remove this restriction for now unless I find any problems by doing so (which I haven’t yet).
    So, please open up Graph.cs and change line # 67 to be like this:

    (we basically remove the application playing check).

    Then for creating an fsm in runtime you can do something like this (which is similar to what you are already doing by the way 🙂 )

    Please let me know if the above work for you.
    Thanks!