- Home /
The question is answered, right answer was accepted
I have a strange black square when running my VR game
Hi everyone ! I just finished setting my scene up thanks to the tuto from Valem on youtube and I find myself with a strange square, beginning at the center of my camera. It doens't seem to be an object on my scene.
Answer by RiccardoCescon · Jan 20, 2021 at 05:23 PM
Its called the Mesh Stencil, I have the exact issue. It'll be fixed in the next release. You can turn off the stencil by doing the following :
Go to: Program FIles/Oculus/Support/oculus-diagnostics/ and double-click OculusDebugTool.exe
A little window will appear, find Use FOV Stencil and turn from Auto to Off.
Answer by Steyo · Jan 12, 2021 at 05:44 PM
Noone ever got this problem ? I don't find a fix for this...
Answer by skillgamer4000 · Jan 17, 2021 at 10:59 AM
Apparently, this is a known problem with the Oculus. To solve it, you have to turn off the Occlusion mesh. How? I don't know.
Try going to settings and under the render settings turn off dynamic occlusion.
However I have never heard of this issue and would actually suggest culling by on and baked for VR.
https://docs.unity3d.com/$$anonymous$$anual/OcclusionCulling.html
https://developer.oculus.com/blog/occlusion-culling-for-mobile-vr-developing-a-custom-solution/ and https://developer.oculus.com/blog/occlusion-culling-for-mobile-vr-part-2-moving-cameras-and-other-insights/
Thinking about your strange box and the way occlusion and Frustum Culling work you may have something on the player objects head that is being rendered in the game and as such it could just be as easy as changing the near clipping in your VR camera or setting the players head on a layer the VR camera doesn't see/render.
Thanks for the answer but unfortunately tweeking the clipping don't affect the box. It might be rendered afterwards.
Follow this Question
Related Questions
Unity XR get controller thumb stick axis 0 Answers
Black patches in skybox when VR mode is enabled 0 Answers
VR UI issue 1 Answer
VR app builds and then finished running on Xcode IOS 14 0 Answers
Google Cardboard Cannot See Reticle 1 Answer