06-20-2022 05:44 AM - edited 06-21-2022 12:38 AM
On the latest Unity LTS (2021.3.4), with a project using Gamma colorspace as set in playersettings, if you import the Oculus Integration (I used libOVR, not OpenXR, due to the need for hand tracking), drop a OVRCameraRig in the scene and make a build for the Quest 2, everything renders with a higher color saturation and contrast than it should.
This issue did not occur on Unity 2019 LTS.
This issue does not occur with Linear color space.
This issue is also resolved if I completely remove the Oculus Integration files from the project and make a Quest 2 build without it (still using XR Management + Oculus XR Plugin package of course).
07-06-2022 08:08 AM
Hi JoeriCG,
Any luck figuring out what's going on here? A question for you- are you using the OpenGL renderer or Vulkan for these builds?
07-08-2022 01:00 AM
This was using the Vulkan renderer. I haven't look at it much further since the bug simply prevented us from committing to the Unity upgrade from 2019 to 2021. But everything points to it being an issue with Unity 2021 + Gamma Color Space + latest Oculus Integration.
07-08-2022 10:20 AM
Hm good to know. Thanks for the information. We're got team members working on the update to Unity 2021 because we were hoping Vulkan would fix our gamma color space issues. (only linear is supported in opengl and openXR, and Vulkan doesn't work in 2020).
I imagine when you're using Unity 2019 LTS, it's with the OpenGLES renderer instead of Vulkan, so maybe that's part of the puzzle.
07-11-2022 12:27 AM
Our project was already on Vulkan on Unity 2019, it doesn't display the issue there. As stated it's specifically the combination of Unity 2021 + Gamma Color Space + latest Oculus Integration that caused it, change any one of these elements (previous Unity version, linear color space, or remove Oculus Integration plugin and only lean on Unity XR management) and the bug disappears.
01-06-2023 10:42 AM - edited 01-06-2023 10:44 AM
Has anyone managed to solve this issue? I've run into the same problem when trying to update a project using gamma color space from LTS 2019 to LTS 2021.
Just to clarify exact version for reproducing:
-Oculus Integration v46
-Unity 2021.3.15f1
Gamma color space, Vulkan API, livOVR
02-02-2023 07:55 PM
I have the same problem now, hope there is some sort of solution. But if I have to remove the OVR Integration files and just use XR for input that might be the way to go. We do lose control over other aspects of the OVRManager etc...
02-06-2023 06:07 PM - edited 02-06-2023 06:08 PM
OK, Can confirm that removing the Oculus Integration, fixes this problem.
Unity 2021.3.18
Integration 49
Vulkan