# Regarding the issue of reproducing map data for pathfinding

**URL:** <https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658>\
**Category:** Questions\
**Tags:** navigation, navmesh\
**Created:** [December 31, 2024, 7:53am UTC](https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658 "2024-12-31T07:53:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zertaul](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zertaul/32/37493_2.png) [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Post date:** [December 31, 2024, 7:53am UTC](https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658/1 "2024-12-31T07:53:06Z")

</div>

As shown in the title, the official document says that the baked map data can be saved through uint8array through the navigationplugin.getnavmeshdata() method, and the previously stored map data can be re assigned to the recast object through the buildfromnavmeshdata method,  
In my personal test, I found that the data object navmesh was added to the recast object,  
But when I use the createdebugnavmesh method to view the results, there is no relevant response in the scene. Why?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [December 31, 2024, 6:29pm UTC](https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658/2 "2024-12-31T18:29:28Z")

</div>

Could you share a repro in the playground ?

---

<div class="post-metadata">

**Author:** ![zertaul](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zertaul/32/37493_2.png) [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Post date:** [January 2, 2025, 12:38am UTC](https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658/3 "2025-01-02T00:38:18Z")

</div>

The project structure is very complex, and it is difficult to reproduce in the amusement park alone, involving the storage and regeneration of the project. I can provide the relevant code, but the reproduction is difficult to implement

---

<div class="post-metadata">

**Author:** ![zertaul](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zertaul/32/37493_2.png) [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Post date:** [January 2, 2025, 6:35am UTC](https://forum.babylonjs.com/t/regarding-the-issue-of-reproducing-map-data-for-pathfinding/55658/4 "2025-01-02T06:35:28Z")

</div>

Or, in the official case, is there a case where getnavmeshdata saves the data and uses buildfromnavmeshdata to create the map data, and then uses createdebugnavmesh to generate the map
