cancel
Showing results for 
Search instead for 
Did you mean: 

OVR Overlay Canvas render black square

Anton111111
Expert Protege

I've created a new project and added all required Meta depndences. And create simple canvas with text and image. And it works correctly in Meta XR Simulator. 

After that i added OVR Overlay Canvas component and selected OVROverlayUI layer. And instead canvase i see black square. What additional need do to OVR Overlay Canvas render correctly. 

Also i checked Unity Starter Sample with OVR Overlay Canvase and it works good in Meta XR Simulator. And i compare settings and settings looks the same with my project.  

3 REPLIES 3

EPL.EPL
Explorer

Have you tried building it? It seems to show black in scene view but I can see it in editor with link cable. Also works in the build.

 

I will say.. Meta is absolutely horrible when it comes to documentation and setup of anything they have as samples. You almost need to make a prefab or something and compare everything for set up. Especially the rigs with all the components and options they have linked together.

Yep i've tested builded apk. Currently i found that it show correctly if parent element has scale 1. but if parent element has scale different 1 OVR overlay canvase shown like a black screen.

Mine is working and the canvas has a scale of less than one. I will also say it could be a project issue. Have you tried in a new project with just the Meta SDK and make some kind of UI to test? I say this because one of my developers spent days trying to figure out why it was showing up as a gradient (not black but similar) in builds. Then I decided to take a peek and worked perfectly fine for me. Same project through PlasticSCM. He then copied the settings folder over from a new project and it worked. So something in his settings got screwy. Shot in the dark but might save you the trouble of chasing something that has nothing to do with the overlay itself.