- Home /
Unity UI Panel is black, not showing up on camera.
I am simply trying to get started here, but I cannot work any further until I get this resolved. I have a background using a panel attached to the canvas. I have a directional light, and a camera. The light is pointing at the panel, and the camera is pointing at the panel. Also the panel is inside of the camera's view. So I'm not sure what else I need to do from here. It seems like it should work, but its as if the camera does not register the panel at all. Here are some screen shots. Thanks in advance!alt text
Answer by FortisVenaliter · Jul 28, 2017 at 08:40 PM
Why are you using a custom material on the panel? You need to use the standard UI material or it won't work properly.
Also, the Camera and Light are 3D objects, so they really should not be children of the Canvas.
Ok Thank you. I will Give it a shot. I put them as canvas children because I wanted to position them easier based off of the canvas position ins$$anonymous$$d of world position.