Forum Discussion

EntroPiGames's avatar
EntroPiGames
Explorer
8 years ago

OVROverlay Quad crashes Unity editor

I’m trying to use
the OVROverlay scripts to show a loading screen while transitioning
between scenes in my application.



I have one OVROverlay
component configured to render a cubemap, which is working fine, and
one OVROverlay component setup to render a quad with a logo.






Here is what the
setup looks like in Unity:





When I enable the OVROverlay
component with the quad from inside the editor, the editor crashes
without any error message or log entry. When I create a standalone
build, my application doesn’t crash and everything is rendered
correctly, but the following error message does get logged three
times:



(Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TranslateD3D11.cpp Line: 308)

Unsupported texture format 0x1B



The documentation is very sparse about which
texture settings should be used, and even though I’ve tried
different texture settings, I’ve been unable to find the correct
one.



Here are my current texture settings:








I’m developing for
the Rift on Windows 10.0.17134 using Unity v2017.3.1f1, Oculus
Utilities v1.25.2, OVRPlugin v1.25.0, SDK v1.26.0.





My current
workaround is to only enable the quad OVROverlay component when not
running in the editor, but it would be very useful to be able to test
this in the editor as well without it crashing.