Forum Discussion
airoll
2 years agoStart Member
Constant warnings with OVROverlayCanvas in Unity 6
Hi, I upgraded my project to Unity 6 and am using the v71 SDKs. I am using OVROverlayCanvas and whenever I have one active in a scene, it repeatedly gives me the following warning:
[Warning] In the render graph API, the output Render Texture must have a depth buffer. When you select a Render Texture in any camera's Output Texture property, the Depth Stencil Format property of the texture must be set to a value other than None.
Camera.Render()
OVROverlayCanvas.RenderCamera() at ./Library/PackageCache/com.meta.xr.sdk.core/Scripts/OVROverlayCanvas.cs:512
510: else
511: {
--> 512: _camera.Render();
513: }
OVROverlayCanvas.Update() at ./Library/PackageCache/com.meta.xr.sdk.core/Scripts/OVROverlayCanvas.cs:371
369: _hasRenderedFirstFrame = true;
--> 371: RenderCamera();
372: }
​Can you suggest a fix to stop this warning from occurring constantly? This did not happen in Unity 2022.3.
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
- 2 months ago
- 5 months ago
- 2 years ago