Issues with Surface Cache Global Illumination (GI) usually appear just after you enable it in a scene, or when you move the camera through a scene that already uses it. Some of them are limitations of the feature rather than faults. For the full list of limitations, refer to Real-time global illumination with Surface Cache.
Surfaces receive direct light from your lights, but no bounced light, so the scene looks flat and shadowed areas are black.
Indirect lighting is missing throughout the scene.
The Console window shows an error about raw mesh buffers.
The Renderer Feature shows a message in the Inspector window.
Surface Cache GI has project-level requirements that the Renderer Feature can’t satisfy on its own. If Static Batching is enabled, or Default Mesh Buffer Target isn’t set to Raw, Surface Cache GI can’t read the mesh data it needs.
The Volume Override also has no effect unless the Surface Cache Global Illumination Renderer Feature is on the active Universal Renderer.
To restore indirect lighting, follow these steps:
Go to Edit > Project Settings > Player, and in Other Settings, disable Static Batching.
Go to Edit > Project Settings > Graphics, and in Mesh Settings, set Default Mesh Buffer Target to Raw.
Select the Universal Renderer asset your project uses, and check that it has the Surface Cache Global Illumination Renderer Feature.
Select the Volume, and in the Surface Cache Global Illumination override, check the following:
State is set to Enabled.
Intensity is closer to 1 than 0, so the lighting contribution is visible. This property is in Advanced Properties, which you can display from the More (⋮) menu.
For the full procedure, refer to Set up Surface Cache Global Illumination.
Lighting looks correct in the Game view, but the Scene view shows stale or partly resolved lighting.
The Scene view redraws only when something changes. Surface Cache GI needs several consecutive frames to accumulate and filter lighting, so it never settles in a view that isn’t redrawing continuously.
To make the Scene view redraw every frame, follow these steps:
Parts of the scene lose all indirect lighting while the camera moves, then recover a moment later.
Surface Cache GI keeps a limited number of patches in memory at once. Fast camera movement, combined with a high patch resolution, can reveal new patches faster than Unity can free up slots for them.
To reduce the effect, adjust the following properties in the Surface Cache Global Illumination Volume Override:
For more information, refer to Tune Surface Cache Global Illumination quality and performance.
Parts of the scene look noisy or flicker for a few frames after the camera reveals them, then settle.
Surface Cache GI creates new patches as it adapts to scene and camera changes, and each patch needs several frames of samples before its lighting is stable. A newly allocated patch hasn’t accumulated enough samples yet.
To reduce the effect, adjust the following properties in the Surface Cache Global Illumination Volume Override:
For more information, refer to Tune Surface Cache Global Illumination quality and performance.
Indirect light appears on the wrong side of a surface, for example daylight bleeding into an enclosed interior.
Patches cover an area rather than a point, so a patch near a thin wall can gather light from both sides. Larger patches make this worse, and spatial filtering spreads lighting further across neighboring patches.
To reduce light leaking, adjust the following properties in the Surface Cache Global Illumination Volume Override:
Thicker geometry also helps. A wall built from a single plane gives Unity nothing to separate the two sides with.
Flat surfaces that line up with the patch grid, such as a floor at a height of 0, flicker as the camera moves.
A surface that lines up exactly with the patch grid can resolve to different patches from frame to frame, which produces a visible flicker.
Check that Patch Warping is enabled in the Surface Cache Global Illumination Volume Override. It applies a small periodic warp to sample positions before they resolve to a patch, which reduces this flickering.
You change the sky or the ambient lighting at runtime, and indirect lighting keeps using the previous environment.
When your scene uses a skybox, Unity re-captures the environment only when it detects a change to the skybox material’s properties, or to the sun’s color, intensity, or direction. A change that happens outside those goes undetected. The clearest case is a skybox shader that animates through the _Time uniform, because the material’s own properties never change.
This issue has no setting that resolves it. Drive the change through an input Unity detects, such as a skybox material property or the directional light that acts as the sun, rather than through a value the shader reads directly.
Surface Cache GI costs noticeably more on one device than another with comparable specifications.
Unity automatically uses hardware ray tracing when a device supports it, and falls back to ray tracing in a compute shader when it doesn’t. The compute path is slower, so the cost of Surface Cache GI can differ between devices.
To identify and reduce the cost, follow these steps:
For more information, refer to Tune Surface Cache Global Illumination quality and performance.