When I drag a material onto a cube as a wall in a scene, it some times shows up on just one side of the wall whereas other items it can be seen on both sides, what is this is it a lighting/shadow issue or a UV issue to what? thanks
do you mean on one side as in one of the outside faces or one side as in inside the cube vs outside the cube. What does the other side (faces or inside) look like is it just the default white material. Does your object have multiple materials and each wall is uv mapped to a different material? Did you try generating the lighting for your scene after and did that fix it?
hi,
to answer, Say I create a 4 sided room using cubes with a plane as the floor.
when I drag a material onto the walls it is on the inside for 2 Walls, but on the outside for 2 others walls.
its all the same one material for 4 walls.
I want all the interior facing walls to have the material on it. the walls with no material are black.
changing the directional lighting in the scene didn’t do anything. thanks.
are you using just a default unity cube or something like probuilder? A default unity cube has only one material so replacing that material should effect all side (not including the inside which isn’t rendered). Sometimes when updating a scene inside unity however you get sides appearing black (esp if the objects are marked as static) because lighting hasn’t been calculated yet. If you are using a default unity cube I recommend generating lighting for your scene and seeing what happens. You could also try marking the walls as static/non static and regenerating the lighting for the scene and see if that changes anything. You could also try adding point lights on the outside of the edges and making them extra bright, and see if this changes anything. I’ve gone through a lot of unity bugs but never seen any problems like this with a standard cube other then it being an issue with a static object and the lighting has not been generated for the scene. I have scene the problem if for example lighting fails to generate/break and throws an error partway through.
If your not using a default primitive cube then it sounds like it is a uv error.
I have Unity installed on 2 different machines, mac and pc and it only happens on the PC, I’m updating the Pc version that might sort it out. yes it is a basic default unity cube, 4 of them for each wall using the same meterial, switching to static or off makes no difference. must be light issue, when u say ‘regenerate the lighting’ what do you mean by this/how do you do this? I just have basic directional lighting set up.
windows->lighting->settings->generate lighting – depending on how big your scene in this can take some time
that was it, all regenerated and whole scene looks nice and fresh. many many thanks
no problem glad it worked!