Is pro beneficial in all cases?

I have a pretty good (low cpu usage) runtime GridGraph following my player with the ProceduralGridMover and a node size of 2 for around 150m (from center) GridGraph nodes. Enough for Minecraft like “local” area pathfinding. I don’t need long distance pathfinding.

My question is where can I go from here. Will upgrading to Pro and unlocking the Optimizations dropdown provide me with ways to further reduce the CPU usage?

Ultimately I want to upgrade anyway to gain access to the LayeredGridGraph capabilities, but I’d love to know if there are further ways to improve the runtime graph floodfill such as moving it off the main thread somehow, or advanced features I don’t know about.

Thanks for any insight!

These are the options with their description you will unlock. Maybe this helps your decision :slight_smile:


1 Like

That’s very informative. Thank you.

Hi

For this particular use case, using the pro version will not help that much. Grid graph updates unfortunately have to happen on the main thread as it uses unity physics. It is possible to reduce the memory usage for the nodes a bit (see the screenshots by @NoxMortem) which does increase performance of graph updates a bit due to better cache coherency, however the effect is not significant.

You could try to check if you are using any grid graph options that are slow. In particular using erosion will slow down the updates quite a lot.