Fix the issues causing objects to appear unlit.
The GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary appear black and are unlit and unaffected by lighting in the sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary.
Certain objects appearing as unlit or out of place may indicate a problem with the scene setup. It often reproduces when dynamic objects have no light probes to sample the lighting from. Glossy metallic materials can appear as black when no local reflection probes are present.
Dynamic objects, or GI contributors receiving GI from light probes, need light probes to sample indirect lighting data. If none are present, objects will fall back to sampling the Ambient Probe, which is the light and reflection probe that is always present in the scene.
Set up a Light ProbeLight probes store information about how light passes through space in your scene. A collection of light probes arranged within a given space can improve lighting on moving objects and static LOD scenery within that space. More info
See in Glossary network in the scene, adding more probes in areas of high importance. Make sure that there are enough light probes to encompass all affected objects. Generate lighting again to see the effect.
Reflective metallic objects might still render as black, even after placing a dense network of light probes. To shade these objects, place a Reflection ProbeA rendering component that captures a spherical view of its surroundings in all directions, rather like a camera. The captured image is then stored as a Cubemap that can be used by objects with reflective materials. More info
See in Glossary that encompasses the affected object. Generate the lighting again or re-bake the probe in the Reflection Probe Component by clicking the Bake button.
If you observe black areas in the reflections, go to Lighting > Environment > Environment Lighting and increase the Bounces value. This will increase the number of light bounces and increase the number of reflections.
Select the unlit GameObject and inspect its MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
See in Glossary Renderer component. Go to Probes, and ensure that the Light Probes and Reflection Probes properties are both set to Blend Probes and not set to Off.
Pure black materials in Unity absorb all direct and indirect light. This is physically correct behavior as no naturally occurring material is completely black.
Adjust your material color values to follow the physically based shadingAn advanced lighting model that simulates the interactions between materials and light in a way that mimics reality. More info
See in Glossary standards. To determine whether albedo values are compliant with the Physically Based Rendering (PBR) standard:
If you have multiple scenes, make sure that the scene containing lighting is set as the active scene. By default, Unity sets the first loaded scene as the active scene, which can affect the standalone player builds.