Reply To: GC allocs in FSM/Composite Graphs

NodeCanvas Forums General Discussion GC allocs in FSM/Composite Graphs Reply To: GC allocs in FSM/Composite Graphs

#8955
Gavalakis
Keymaster

Hello,

I took a look again and found the issue for the FSM, which in practice was a bad call, which you can fix easily as well 🙂
Please open ActionList.cs and replace line #86 (the bad call) with:

if (finishedIndex.Count == actions.Count)

Notice that this is a temporary fix for now, because it will not take into account the disabled actions (through the UI checkbox).
I will make sure it does for the next update along with some further improvements.

Let me know if this fixed the GC issue for you 🙂

Thanks,
Gavalakis Vaggelis

Join us on Discord: https://discord.gg/97q2Rjh