Search Issue Tracker

Fixed

Fixed in 2023.2.0a22

Votes

0

Found in

2023.2.0a21

Issue ID

UUM-40512

Regression

No

Baked Lightmap preview result is very different from the baked one

-

When using the Baked Lightmap visualization mode, we can switch between a preview state (auto replacement) and a baked state (Lightbaker output from the previous on-demand bake)
This preview state result is very different from the baked state (see image below) : different exposure ? different colors ?

Editor : 2023.2.0a21
Editor Branch : Trunk
Editor Commit : (1e7d74285191a09908d19f81ccf9cbfb58819900

Reproduceable with the URP template scene :
Project : URP Template
Project Scene : Garden
Project Branch : main
Project Commit : Merge pull request #19 
- Open the _Garden _scene
- Place the scene camera inside one of the interior rooms
- Bake using the GardenDraftLightingSettings
- Use the Baked Lightmap Visualization mode
- Set _Preview _for the Lighting Data, and wait for the preview to be computed
- Switch to _Baked _for the Lighting Data
- See the difference between the two
!image-2023-06-20-16-20-37-058.png|thumbnail!

Also reproduceable with a simple scene :
- Create a new scene
- Create a few cubes, set them as 'static' and using 'Lightmaps'
- Bake the Lighting
- Use the Baked Lightmap Visualization mode
- Set _Preview _for the Lighting Data
- Switch to _Baked _for the Lighting Data
- See the difference between the two
!image-2023-06-20-16-23-08-987.png|thumbnail!

Note :
With this version of the editor, when baking on demand this error happens :
StackOverflowException: The requested operation caused a stack overflow.
UnityEngine.Rendering.ProbeVolumeLightingTab.PrepareAPVBake () (at ./Library/PackageCache/com.unity.render-pipelines.core@16.0.2/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs:939)

It's know and linked to APV

Another error happens when using the preview state :
_FileSystemError code %i after call to FileSystemEntry::LastModified() _

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.