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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Tags window completely breaks and throws Exception errors when Adding a Tag to a GameObject
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
Resolution Note:
This is an edge case and we won't fix. Don't use terrain lit on non-terrain objects.