As the Unity Profiler timeline screenshot attached shows, it appears that a lot of GCs is occurring while myagent’s NN model is running, significantly slowing down the execution speed. Is this appropriate behavior? Or am I missing something? I hope someone can help me with this.
1 Like
I think this is pretty typical. At least I’m in the same boat. I think Barracuda is generating a lot of GC. Here’s a couple of other threads on the topic - Question - Barracuda calls GC - Unity Forum and Feature Request - baracuda GC zero allocation - Unity Forum .
1 Like