I need some help!
Some context: we store maps on steam workshop in external files, including the serialized graphs.
We use 4 overlapping recast graphs for units of different sizes and stances. This works well enough with some custom classes ( tilehandlerhelper, links ) that apply updates and links to each navmesh and not just the first one, though there are some odd bugs.
Now requirements changed and I want to change to how it's supposed to be, just one navmesh graph. The problem is I need to keep the maps functional without re-scanning, as that's not possible.
I saw in the code comments that back before 3.2.5 the graphs would get "properly" removed and the graph indices updated. Could you dig up and share that old code?
In the current version the "empty slots" are kept and re-used on the next scan, which then completely messes up my setup, moving the point graph from index 4 to index 0, but it doesn't copy the settings.
Alternatively, how can I manually update the graph indices after re-organizing the graphs array?