I found a memory allocation when changing the active subgraph in a very common usage pattern
this allocates memory because of the lambda variables scope capture.
Attached the stack trace from a deep profiling in unity where it allocates 160 B for every sub tree change.
Hello! It is not exactly a problem but rather a small allocation when using subgraphs specifically. I do however want to fix this so that it does not allocate at all in this case. Thank you.
Hi there, though the allocation is small, it accumulates over the time leading to GC triggering. In our game we have requirement to not allocate more than 300B per frame (unity recommendation), which is not possible to satisfy because of the NodeCanvas
Hello there. If it is a showstopper for you now, I can send you a quickfix to your email. If so please send me an email to support_AT_paradoxnotion.com.