[4.2.1-4.4.0] Lag (freeze) after in game accumulates in average 10 000 objects
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.
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.
Issue is fixed now. Change should be available in master branch on github soon.
answered Aug 27 '14 at 05:05 PM
There seems to be some terribleness happening under the hood of
You should be using BTs instead anyway ;)
answered Aug 14 '14 at 03:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here