I am currently prototyping some screens with with UI Toolkit and noticed that the colors are totally different in the game and scene view when compared to the UI Builder. When compared to the raw hex values, the colors in the builder are correct and the scene and game views are the incorrect ones.
Example 1:
The background and icon colors are lighter and a kind of washed out.
Example 2 (top is gameview, bottom is the UI builder):
Notice how the background image and the gradient overlay (just a simple texture) are being blended quite differently. The game view has a lot more contrast, where the UI builder has the proper ‘overlay only’ blending.
My scene only has the UIDocument component on a single game object, not even a camera.
The project uses URP with HDR enabled, but changing those settings didn’t change anything.
The current editor version used is 2023.2.0a8.
Is there a setting I am missing somewhere? Thanks in advance!