Forum Discussion
stopierwszy
2 years agoHonored Guest
Quest 2 Resolution Scaling in Unity
Does anyone else have an issue with resolution scaling in Unity 2021.3.16f1 and Oculus URP? We're using Vulkan, OculusXR Feature, single pass instanced render mode, late latching, subsampled layout, and ASW. So with the current requirements, we need the resolution scale to be at the lowest at 85% for most of the time, but it's impossible to get 85% by setting either the min/max render scale in OVRManager (does dynamic resolution even work?), nor by setting the URP asset Quality/Render Scale to 0.85. What confuses us even more is how the resolution scale value in the OVR Metrics tool behaves when we change this value. For anything from 0.85 to 0.9, the result we get in OVR Metrics is 83%, and when we set it to 0.91, we get 90% on most of the Quest 2s and 87% for a single one of our Quest 2 units. We didn't have this issue with a very similar setup on our previous project with Unity 2019.
2 Replies
- SylafCodeHonored Guest
We have the same issue here at Virtuallyz. The Metrics tool show a value below the one we setted and on one of the headset, the value is well under the others. We got a Q/A team that reported the issue when we thought the value was correct (VRC specifies a value of minimum 85% is required).
Hence the question: is the metrics tools showing a wrong error, does the issue lie within Unity's engine or is there another object interfering with the setting?
We can note that we have a OVR Manager disabled on our XR Origin object.
We use URP and we set the value in the Universal Render Pipeline Asset at "Render Scale" and we run this code :OVRManager.foveatedRenderingLevel = OVRManager.FoveatedRenderingLevel.HighTop; // it's the maximum foveation level OVRManager.useDynamicFoveatedRendering = false; //OVRManager.useDynamicFoveatedRendering = true; // Unity.XR.Oculus.Utils.EnableDynamicFFR(true); Unity.XR.Oculus.Utils.EnableDynamicFFR(false); Unity.XR.Oculus.Utils.SetFoveationLevel(4); UnityEngine.XR.XRSettings.eyeTextureResolutionScale = 1;(we setted the XRSettings to one in order for the pipeline settings to be the only scaling setting)
Edit:
Unity: 2021.3.19f1 (LTS)
"com.unity.render-pipelines.universal": "12.1.10"
"com.unity.inputsystem": "1.5.0",
"com.unity.xr.interaction.toolkit": "2.2.0",
"com.unity.xr.legacyinputhelpers": "2.1.10",
"com.unity.xr.management": "4.2.0",
"com.unity.xr.oculus": "3.2.2", - TaivasProtege
I'm sorry to hear that you're experiencing issues with resolution scaling in Unity 2021.3.16f1 and Oculus URP. While I can't provide a specific solution for your problem, I can offer some general troubleshooting steps that might help you resolve the issue.
Update Unity and Oculus Integration: Make sure you have the latest versions of both Unity and the Oculus Integration package. Sometimes, new updates can address known issues and improve compatibility.
Check the Oculus XR Plugin Settings: Ensure that the Oculus XR Plugin settings in Unity are properly configured. Double-check the XR Plugin Management section in the Project Settings to make sure the Oculus XR Plugin is enabled and set up correctly.
Verify Compatibility: Confirm that all the components and versions you are using (Unity, URP, Oculus XR Plugin) are compatible with each other. Check the documentation, release notes, and forums for any known issues or compatibility problems.
Test Different Settings: Experiment with different combinations of settings, such as enabling/disabling features like dynamic resolution, single-pass instanced rendering, late latching, subsampled layout, and ASW. Sometimes, specific combinations of settings can cause conflicts or unexpected behavior.
Reach Out for Support: If you've tried the above steps and the issue persists, consider reaching out to the official support channels for Unity, Oculus, or the specific URP package you're using. They might be able to provide more specific guidance or solutions based on your configuration.
Check the Unity Forums and Community: Search the Unity forums, Oculus developer forums, and other relevant developer communities to see if other users have encountered similar issues and found solutions or workarounds. You can also post your problem there to see if anyone else has experienced the same problem.
Remember to provide detailed information about your setup, including versions of Unity, URP, Oculus XR Plugin, and any other relevant packages or tools. Include any error messages or unexpected behaviors you're experiencing. The more information you provide, the better chance the community or support team has of helping you.
I hope these steps help you in resolving the resolution scaling issue you're facing.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 9 months ago
- 10 months ago