Instantiating prefabs multiple times shares mesh memory or not?

When I instantiate a Prefab multiple times during run time; and assuming I’ve not changed anything after that – do all the instances of that one prefab point to the same mesh memory (i.e. sharedMesh) or is the mesh data duplicated each time?

Thanks for clarifying.


You’ve mostly answered it yourself. As long as you only reference sharedMesh, they are indeed shared.

If you access mesh, however, it will create a new one.