Cause and mechanism
Mixed Lighting combines baked lighting, calculated and saved in advance, with real-time lighting. For light leaks, inspect the bake, light mode, receiving settings, and any custom Shader's mixed-lighting implementation separately. Adding a special Shadowmask Renderer Feature is not a general required fix.
Check and correct the setup
- Check the current mixed-lighting mode and version support.
Light, occluder and receiving surface - Rebake after changing modes; inspect GI, lightmaps, and probes.
Light, occluder and receiving surface - Compare with URP Lit and ensure custom shaders do not blindly multiply baked and realtime shadows twice.
Light, occluder and receiving surface
Limits and verification
Light leaks can also involve bias, geometry, UVs, and bake resolution; switching modes is not a universal fix.
A focused diagnostic setup
Use one mixed light, a static wall and a dynamic cube. Rebake after mode changes to avoid stale lighting data.
Test in this order
- Record the mode, GI contribution and lightmap/probe reception.
Light, occluder and receiving surface - Compare standard URP Lit with custom shading for double-darkening.
Light, occluder and receiving surface - Separate realtime shadows from baked illumination and inspect geometry/UVs.
Light, occluder and receiving surface
Interpret the result
Standard-material improvement suggests shader integration; static-only differences suggest baking; dynamic-only differences suggest probe reception. Shadowmask is not a universal leak fix.