cancel
Showing results for 
Search instead for 
Did you mean: 

VR Compositor Overlays no longer Show Up after Unity 2020 Upgrade

jashan
Level 4

On all platforms that have a VR compositor available, we push textures into that compositor as overlays so that the game doesn't have to render at framerate while loading and players still have something interesting to look at (including progress that updates during loading). Since our upgrade from Unity 2019.4.23 to 2020.3.12 this no longer works on the Quest (it still works fine on Windows Oculus with a Rift or Link, and also on SteamVR but that's an entirely different codepath).

 

Interestingly, in a simplified test-project that uses the same approach to push the overlays into the compositor, this works just fine. But when I copy those scenes / prefabs over to our main project, and do a build, the overlays do not work in that build.

 

I have compared the project settings and manifest.json and it seems that there are no difference that should cause this.

 

I have found one similar issue talked about here: https://forums.oculusvr.com/t5/Unity-Development/OVROverlay-don-t-work-with-Oculus-Quest/m-p/778110

 

We currently don't use IL2CPP on Quest, and I've tried adding

ovrOverlay.isExternalSurface = true;
ovrOverlay.isProtectedContent = true;
ovrOverlay.isDynamic = true;

but that also didn't fix it.

 

We do see the Skybox overlay but not the Quad-based overlays.

0 REPLIES 0