UpdateGraphs Async?


#1

Hi, is it possible to do UpdateGraphs Async? When I call UpdateGraphs, there a few milliseconds of lag while the graphs update.


#2

Hi

Grid graph updates have to happen in the main thread because it uses Unity physics. Currently there is no built in way to process the updates over multiple frames either unfortunately (unless you write your own work item, like has been done in the ProceduralGridMover script). How large is your graph (in nodes) and how large is the region that you are updating? It may be possible to speed it up in another way.