Forum Discussion
Anonymous
6 years agoWhy does changing the render resolution turn my Quest's screen black with spastic red flashes?
I'm trying to change the render resolution on my Quest app to test the impact on performance, but it doesn't seem to work. The screen turns black and I get a dim red noise pattern flashing rapidly across the whole screen.
I'm using the exact code shown here or in other words just the single line:
UnityEngine.XR.XRSettings.eyeTextureResolutionScale = 1.01f;
The visual glitch happens when setting eyeTextureResolutionScale to anything but 1, even if it's only 1.01, or 0.99. If I set it low enough, like 0.1, I also get a full frame of video about once per second before it goes back to mostly black.
This code is supposed to be usable on the Quest, right? Because it works fine on the Go and the Oculus site doesn't say anything about it being incompatible with the Quest. I'm using the Lightweight Render Pipeline in this app, could that be the problem?
Also, is there any other way to change the render resolution?
- Anonymous6 years agoJust an update: this is definitely caused by the Lightweight Render Pipeline. I can change the resolution no problem using the same project without the LWRP, it's only when the LWRP is in use that it causes this problem. Seems to be a bug. In other words, if you're using the Lightweight Render Pipeline you can't scale the render resolution at all.
- Anonymous6 years agoI found a fix. All I had to do was remove Vulkan from the Player rendering settings support list, even though OpenGL 3.0 was already at the top. No more black screen.
2 Replies
- AnonymousJust an update: this is definitely caused by the Lightweight Render Pipeline. I can change the resolution no problem using the same project without the LWRP, it's only when the LWRP is in use that it causes this problem. Seems to be a bug. In other words, if you're using the Lightweight Render Pipeline you can't scale the render resolution at all.
- AnonymousI found a fix. All I had to do was remove Vulkan from the Player rendering settings support list, even though OpenGL 3.0 was already at the top. No more black screen.
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
- 4 years ago
- 3 months ago
- 7 months ago