"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Vuforia selects wrong graphic API

For some reasons vuforia selects OpenGL ES 2.0, when I build unity3d project and include it in native project.

When I build unity3d xcode exported project directly, without including in native project - it selects Metal and all is good. If it selects OpenGL ES 2.0 it shows black screen. Black screen can be solved if I choose OpenGL ES 2.0 in Unity3d player settings, but I need to use Metal, because I have ARKit in my project.

How to force Vuforia to use Metal? Or maybe you have some other suggestion

Unity3d 2018.4.4

Vuforia 8.3.8

Hi,

I believe you need to enable the Metal Editor Support option.

In unity under Build Settings -> Player Settings -> Player -> you have the option "Metal Editor Support". Please enable that and give a try.

Thank you.

Vuforia Engine Support

Hi,

This should be achievable through the build settings from unity. Under Player->Other Settings -> Auto Graphics API// Uncheck the box. After that you will have a drop down menu with the Graphics API. Remove OpenGles2 version from there and try to build it again.

Hi,

Coming back to your first post, I've noticed that exporting the project from Unity directly to iOS works as expected and Metal is being used. The issue happens only when you include the unity exported project in the native project.

I had exactly the same problem. We were forced to change the framework to another, although we wanted to use Vuforia.