Search Issue Tracker

By Design

Votes

0

Found in

2021.3.37f1

2022.3.24f1

2023.2.19f1

6000.0.0b15

Issue ID

UUM-69582

Regression

No

Lightsmaps have artifacts when baking one sided meshes with rotation

--

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/Level/Londres/lon_sco_01_street_morning“ scene
3. Open the Lighting window (Window > Rendering > Lightning)
4. Click on the “Generate Lighting” button in the Lighting window
5. Observe the “_SetGeometry/lon_sco_street/BuildingMain“ GameObject in the Scene view
6. Select the “_SetGeometry/lon_sco_street/fake_buildings“ GameObject in the Hierarchy window
7. Change the scale on the Z axis to “1” in the Inspector window
8. Repeat step 4
9. Repeat step 5

Expected result: The Lightmaps look the same
Actual result: There are black artifacts on the “_SetGeometry/lon_sco_street/BuildingMain“ GameObject

Reproducible with: 2021.3.37f1, 2022.3.24f1, 2023.2.19f1, 6000.0.0b15

Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested

  1. Resolution Note:

    When flipping around the fake_buildings (by reverting the negative z scale) the fake buildings are pointing away from the main building. This means when lighting the main building the GI system sees the large backface exposed by the fake_buildings. To fix this either make sure the front face of the buildings is exposed or make the material used for the fake buildings have "Double Sided Global Illumination" enabled. See https://docs.unity3d.com/Manual/class-Material.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.