By Alhantro
on Thu, 08/01/2019 - 20:13
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,
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
It's enabled. Moreover I can
It's enabled. Moreover I can force Vuforia to use Metal, using initQCARiOS native method call.
Hi,
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.
After that it still tries to
After that it still tries to select opengles 2.0
Hi,
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
I had exactly the same problem. We were forced to change the framework to another, although we wanted to use Vuforia.