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() _
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Sprites are not rotating with bones when the Sprite type is Unlit
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
- Missing page when opening reference for Panel Text Settings
Add comment