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
- Depth texture is flipped when specific URP rendering settings are applied
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
Add comment