Hi all,
I noticed that MeshFilter’s document said “Also, be aware that is not possible to undo the changes done to this mesh.”, But what about MeshFilter.mesh?
Hi all,
I noticed that MeshFilter’s document said “Also, be aware that is not possible to undo the changes done to this mesh.”, But what about MeshFilter.mesh?
Problem is that Meshes are not serializable, so if you create a mesh on the fly(in an Editor), it doesn’t get serialized if you move it to a prefab or start the Game, so the only thing you can do if you need that is to create a new Mesh (, copy data over), do your Changes, save it as a Prefab and assign it to sharedMesh.