Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
7.3.1
Issue ID
1278280
Regression
No
[URP] Scene is black after baking GI with gameobjects having Terrain Lit materials in Subtractive mode
Steps to repro:
1. Create the new URP project and extract the attached package into it;
2. Open 't5SimpleLitShaderBake' scene;
3. In the Lighting window press the dropdown list button near the Generate Lighting text and select 'Clear Baked Data';
4. Observe that the scene is lit (see attached screenhsot);
5. In the Lighting team press 'Generate Lighting' button;
6. Wait until the GI bakes;
7. Observe the scene.
Expected result:
Scene is lit by the baked lights.
Actual result:
Scene is black. See attached screenshot.
Notes:
- Reproducible in Version 2020.2.0b3 (URP 10.1.0-preview26), 2020.1.6f1 (URP 8.2.0), 2019.4.10f1(URP 7.3.1)
- Reproducible for GPU, CPU Lightmappers and Enlighten baking backends;
- Not reproducible when baking terrain gameobjects, reproducible only when terrain lit shaders are on the non-terrain gameobject
- Not reproducible in Built-in RP when using standard Terrain shaders on non-terrain gameobjects;
- Baking in Shadowmask mode also exposes artifacts in URP, that don't happen in built-in RP as well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
This is an edge case and we won't fix. Don't use terrain lit on non-terrain objects.