I enable “Show Frame Rate and Memory” from “Editor preferences” → “Miscellaneous” → “Performance”.
Then i see object count in editor in real time.
I use “AI MoveTo” BP node in my Blueprint code.
When in game “AI MoveTo” BP node called then added 1 object to objects count.
When in game accumulates in average 10 000 objects the editor freezes and after 10 second editor unfreezes and objects count that are reduced by 10 000.
And this is repeated again and again.
I think this is garbage collector clear memory from unused objects.
But garbage collector do this very-very slow.
I right?
And if I’m right, then you need to get rid of this lag.
I try this is in 4.2.1, 4.3.0 (i build from GitHub), 4.4.0 (i build from GitHub). Everywhere there is this lag.
There seems to be some terribleness happening under the hood of AI Move To. We’ve filed this issue and someone will handle it, with a reasonably high priority.