All objects black, URGENT

I was making a game and was going to add a mask to make objects hide when behind other objects when I had to delete all the shaders because I just realized I had to hide all the objects. When I went to delete the shaders/materials/scripts added and hit play all the objects just turned black.

There is a camera, there is a skybox, there is a player, and there is directional light but all the help I’m looking for is unrelated to that and tries to make me go through 1000 steps, please help. Version is 2022.3.1f1 for anybody asking.

Here’s the image:

you can not just simply delete a material from an object to hide it from view. if you must, you can delete (or disable) the mesh renderer and mesh filter components instead. I suggest that add materials back to your objects and hide them by disabling their mesh renderers when needed.