Unity | Use AR and VR in the same app but not simultaneously

139 Views Asked by At

I'm using Unity 2019.4.5f1 and I have to create an app where the user can use AR and VR but not simultaneously.

I think the problem is that ArFoundation is asking me to use OpenGLES3 while the VR plugin is asking me to use OpenGLES2. If I select only OpenGLES2 the build fails, if I select only OpenGLES3 the build is ok but the app crashes.

I think I can use the old Google VR SDK but it is deprecated since Unity 2019.3 and both Unity and Google suggest to use the new Google Cardboard XR Plugin but I can find no documentation and no people that use it.

Any suggestions?

0

There are 0 best solutions below