Unity ui mask not working on google pixel device

有些话、适合烂在心里 提交于 2019-12-01 06:23:39

I got around this issue by using RectMask2D Component instead of the regular Mask.

If somebody else got this problem and Bahman_Aries solution is not enough, try this:

File > Build Settings > Player Settings>XR Settings (or Other settings if you are working in older versions of unity) > Daydream (click on the small arrow) > Depth Format.

And set that to 24-bit depth | 8-bit stencil.

This is cause you need a stencil buffer.

ScrollRect component has this weird behaviour when an image in its content has its material set to something other than none.

Unset the material to None and it should work.


If every child of content already has no material, then it could be a bug.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!