• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jan 20, 2021 at 08:13 PM by Steyo for the following reason:

The question is answered, right answer was accepted

avatar image
2
Question by Steyo · Jan 11, 2021 at 06:11 PM · vrvirtualrealitygame view

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.alt text

unity-vr.jpg (199.6 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

  • Sort: 
avatar image
1
Best Answer

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. alt text


6.png (12.0 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Steyo · Jan 20, 2021 at 05:36 PM 0
Share

Thank you soooo much !

avatar image
0

Answer by Steyo · Jan 12, 2021 at 05:44 PM

Noone ever got this problem ? I don't find a fix for this...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Giantbean · Jan 17, 2021 at 03:02 PM 0
Share

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/

avatar image Giantbean Giantbean · Jan 17, 2021 at 03:17 PM 0
Share

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.

avatar image Steyo Giantbean · Jan 17, 2021 at 03:47 PM 0
Share

Thanks for the answer but unfortunately tweeking the clipping don't affect the box. It might be rendered afterwards.

Show more comments

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

155 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

VR app spins uncontrollably on iOS 14 (Unity 2019.4.11) 0 Answers

Video lags in Unity VR 0 Answers

Unity Native VR doesn't work!! 0 Answers

How can I convert my desktop viewer to a virtual reality side-by-side display? 0 Answers

VR assets to Cardboard (Magnet instead of click) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges