Search Issue Tracker
Fixed
Fixed in 2023.2.0a19
Votes
0
Found in
2022.2.0b1
2023.1.0a1
2023.2.0a1
Issue ID
UUM-1553
Regression
No
PlayerSettings.colorSpace is returning the wrong value when called from a worker process
Steps to repro:
- Create a new URP project
- Set the Build Target to iOS
- Create a reflection probe
- Bake the Lighting (click the 'Generate Lighting' button in Lighting window)
- Go to the Player Settings and choose Linear Color space (Other settings -> Rendering)
- Switch the lightmap encoding quality (Player Settings -> Other settings -> Rendering) back and forth between Low Quality, Normal Quality and High Quality
The ReflectionProbe-0 preview icon in the right panel of the project window will refresh, note how it is too bright compared to the preview in the inspector window.
Unfortunately the bug is not 100% reproducible since the rendering of the preview icon is not always called from a worker thread.
Note:
- On Windows 10, changing lightmap encoding quality to Medium, previews in the inspector and project window turn bright.
This issue happens because of the Playersetting is not synced properly across the processes.This is a known issue.
Thumbnails are rendered in asset import worker process in {}CubemapPreview::RenderStaticPreview(){}. In which it access PlayerSettings.colorSpace in CubemapPreview::RenderCube() function.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment