Search Issue Tracker

Third Party Issue

Votes

1

Found in

2021.3.38f1

2022.3.29f1

6000.0.3f1

Issue ID

UUM-72353

Regression

No

Ligtmaps disappear when entering the Play Mode

--

-

How to reproduce:
1. Open the “IN_75657” project
2. Open the “TestScene”
3. Press Window → Rendering → Lighting → Generate Light and wait for lights to be baked
4. Enter the Play Mode
5. Observe the Game View

Expected result: Baked lights visible in the Game View
Actual result: Baked lights disappear

Reproducible with: 2021.3.38f1, 2022.3.29f1, 6000.0.3f1

Reproducible on: Windows 10 Pro
Not reproducible on: No other environment tested

Notes:
- Baked lights also disappear while building the project for Windows Standalone Platform (others not tested)

  1. Resolution Note:

    The project seems to be using the third party Bakery lightmapper. We cannot provide much support for using Bakery, as it is not developed by Unity. If you need additional support for this asset, contact the developer.

    Bakery takes full control over the lightmapping pipeline, including runtime loading of lightmaps, and should not be used together with Unity's built-in lightmapper. It seems this has happened in your project, as the problematic scenes has 2 sets of baked data on disk: One produced by bakery, and one produced by the built-in lightmapper.

    If you intend to use the built-in lightmapper for this scene, clear the data Bakery has generated. There seems to be a dedicated button for this under Bakery -> Utilities -> Clear baked data. Alternatively, uninstall Bakery. Doing either of these should cause lightmaps generated by the built-in lightmapper to work again. When you want to bake again, you should use the button at Window -> Rendering -> Lighting -> Generate Lighting.

    If you intend to use Bakery, you should clear the data generated by the built-in lightmapper. This can be done via Window -> Rendering -> Lighting -> Clear Baked Data under the dropdown on the Generate Lighting button. Bakery has its own window for doing bakes - you should use that instead of the lighting window.

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.