Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.14f1
2021.1
2021.2
2022.1
Issue ID
1352450
Regression
No
[Mobile][Linear] IMGUI objects are brighter in the mobile Build when Linear Color Space is used
How to reproduce:
1. Open the user's attached "BugIMGUIlinearAndroid" project
2. Connect Android (or iOS) device
3. Open the Build Settings... (File->Build Settings...)
4. Switch to the Android Platform
5. Build and Run the "SampleScene"
Expected results: All the squares are the same color
Actual results: The IMGUI squares (on the left) are brighter than the middle ones
Reproducible with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a4
Reproducible on:
VLNQA00286, Meizu Pro 5 (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00294, Oppo OPPO Reno Z (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
iPhone 12 Pro (iOS 14.2.1), iPhone 6S (iOS 13.3.1)
Notes:
- The issue has been reproduced on OpenGLES3 with Linear Color Space
- The issue is also reproducible with Vulkan and Linear Color Space but only if SRGB Write Mode is disabled in the Vulkan Settings
Comments (1)
-
Waz
Jul 31, 2021 02:22
Currently I'm working around this issue by using:
GUI.color = theColor.linear;
The [ColorUsage] could probably also be used somehow, but I couldn't even find confirmation that the regular Color was always interpreted as sRGB.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note (2022.1.X):
IMGUI does not support Linear Color Space and it's not recommended for Player Runtime.
Please use a different UI system.