I have a 1k by 1k graph that takes about 30 seconds to scan. This process is only done once in a loading screen, but I’d like to reduce that to under 5 seconds.
I was thinking to just simply create the graph and initialize every node to be set to walkable without doing any checks as I already have the infrastructure in place that whenever a new object is instantiated, the pathing graph around it is updated. So I tried scanning with ‘Collision testing’ off and seemed to improve the time by a bit, but the the biggest time consumer is ‘height testing’ and the ‘calculating connections’ step. However if that’s disabled, then the graph will just be a flat mess.
Doing it the async way only makes the process even longer, which is not an option. I’m still on 4.2.2.