Search Issue Tracker
Fixed
Fixed in 2023.2.X, 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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment