Mesh Generation and Disposing of Native Arrays

I am slightly confused about the life cycle of native arrays that I intend
to use for meshes with the new Mesh.SetVertexBufferData.
Should I have a persistent allocation and dispose of said arrays (vertexs, uvs, etc.)
manually or will they be disposed automatically if the mesh happens to be destroyed?

Thank you

Mesh has its own memory buffer. You can create temporary native array and dispose it after setting vertex buffer data. All internal vertex buffers are handled by Unity.

Thanks a lot!:slight_smile: