How do you load NavMeshTriangulation data?!

I am creating an infinite terrain and can save the triangulation of the navmesh data but i don’t know how to load it?

    public void SaveData()
    {
        NavMeshTriangulation test = NavMesh.CalculateTriangulation();
        //transform.parent.GetComponent<MapMagic.MapMagic>().seed
        PlayerPrefsX.SetIntArray(SceneManager.GetActiveScene().name, test.indices);
        PlayerPrefsX.SetVector3Array(SceneManager.GetActiveScene().name, test.vertices);
    }

When you say “load” do you mean transfer it into the NavMesh for use by agents?

I think this is what you need:

Disclaimer: I’ve never used this method.

hmm, i’ll try it out!

nope, can’t figure out how to do anything with that…