- Home /
Accidently deleting mesh/prefab - how can i recover this?
Ok. So i am new to unity and i have started my first 'big' project. I decided to tide up my project files a bit and then i have deleted something that i thought was unecessary, but as can you guess, it actually was important. Now all of my platforms are invincible (its a 2D game). I can walk on them, i can do everything what i want on them, but they are invinsible. Since i was unable to find that deleted asset in my bin, i have created another one. So, how can i make those platforms visible again?
Answer by hexagonius · Nov 22, 2018 at 04:28 PM
Every visible GameObject has a MeshRenderer and MeshFilter at some place in their hierarchical structure. THe MeshFilter needs the Mesh assigned which forms the shape, the MeshRenderer needs Materials assigned, the same number as there are Material IDs used on the Mesh.
Thanks! Unfortunetly i have to add a meshes one by one, but it still saves some work
Your answer
![](https://koobas.hobune.stream/wayback/20220612182600im_/https://answers.unity.com/themes/thub/images/avi.jpg)