# CreateMeshChunk Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Subsystems.LocationMeshManager.CreateMeshChunk/ CreateMeshChunk --- ## Declaration public GameObject CreateMeshChunk(MeshChunkData data, bool addCollider = false) #### Summary Build a chunk GameObject from geometry yielded by GetLocationMeshChunkDataByVpsMapAssetIdAsync, rendered with this manager's materials. The chunk is the same as one yielded by GetLocationMeshChunksByVpsMapAssetIdAsync. #### Remarks The chunk is returned inactive; activate it once it is parented. Each call creates new Unity Mesh, Texture and Material assets owned by the chunk, and destroying the chunk frees them. data is left intact. ### Parameters | Name | Type | Summary | | --- | --- | --- | | data | MeshChunkData | - | | addCollider | bool | - | ---