How to hide world space canvas behind walls?
Hi Guys! I really beg you to help me, I spent too much time on this bug. I use Unity 5.4.5.f1 and google cardboard SDK V 1.40. I can't use later version for some reasons. I have a world space canvas with some buttons. It's placed inside room, behind walls. When the game is not run, and you just click to game window - everything is fine, buttons are not visible outside the room. But if I run the game and screen is divided for two with a distortion correction - buttons appears in front of the room. If I turn off distortion correction in GVR Viewer script - everything is fine. So problem is when distortion correction is enabled (Native/Unity) - buttons are visible from any part of the scene even behind a wall.
Screenshot1 Screenshot2
How can I solve it?
Your answer
![](https://koobas.hobune.stream/wayback/20220612124221im_/https://answers.unity.com/themes/thub/images/avi.jpg)