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
-
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
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
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.