Log in or register to post comments

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 9, 2020 - 2:00pm #1

Hi,

I've been using Unity 2019.4.11f1 and Google Cardboard 1.2.0 with no major issues. I've managed to integrate Vuforia 9.4.6 on Android, but not on iOS. If I have the Vuforia package, the cardboard VR will not start and otherwise, it will work normally.

So both Vuforia and Google Cardboard are vital to our app, and we need to find a way to make them work together on iOS. I figure it must be something specific, but I can't tell for sure.

The logs aren't very meaningful:

[Subsystems] Loading plugin cardboard_api for subsystem Display...
[Subsystems] Failed to initialize subsystem Display [error: 1]
[Subsystems] Loading plugin cardboard_api for subsystem Input...
[Subsystems] Failed to initialize subsystem Input [error: 1]

Anyways, we have a thread on the official cardboard repository as well. I don't know which package is causing the issues.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

November 17, 2020 - 7:10am #12

It's been almost 2 months since iOS 14 came out, and we still cannot update our apps only because of this issue. I don't know what else to try, but I think we as users can only go so far. We need developer assistance on this issue.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

November 17, 2020 - 5:48am #11

Having exactly the same issue here.

Have a Unity project with Cardboard + Vuforia on Android and iOS that was working just fine until not long ago.

iOS 14 came out, if you tried to open the previously working app on iOS 14 it would just shut down on start up. No log error, nothing. It just shut down.

We went back to the project, updated everything we could and after a million problems, we finally got it to build, compile and run properly again on iOS.

However, now, if Vuforia works, Cardboard doesn't.

Hope someone can find out what's going on because I am currently quite lost and the project needs to run both things as it did up to now.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

November 10, 2020 - 12:03pm #10

I have updates

Recently, my team managed to make a quick modification to the Cardboard API in order to enable OpenGLES 3. So we decided to give Vuforia + Cardboard a second chance. We successfully built the project with OpenGLES 3 and load the Cardboard VR view. However, if we add Vuforia to the project, we experience the same effect as before: the Cardboard VR View does not load. That should be enough evidence to say that the issue is not related to the Graphics API, instead it seems to be something with the Vuforia. I'd like @mcotora if you could pass this to the development team. I've setup the sample repository with this exact scenario: https://github.com/JoaoBorks/unity-xr-sample/tree/opengles3_vuforia

It's plain simple: if you build with Vuforia, it does not load the VR. If you build without Vuforia, it works as expected.

Please, we have to fix this in order to update our apps.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 30, 2020 - 8:00am #9

Thank you for your response @mcotora. I've totally missed that Graphics API Support page. I'll update my issue on the official Google Cardboard repository to include this information. I believe once they support OpenGL ES 3 or Metal, it will work as expected. Once it is supported, I'll update this post as well.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 30, 2020 - 3:11am #8

Hi,

Based on your input, the issue is with Vuforia not selecting openGLES 2 on iOS. Unfortunately this is as expected as we do support only openGLES 3+ on iOS.

Supported versions: https://library.vuforia.com/content/vuforia-library/en/platform-support/supported-versions.html

Thank you.

Vuforia Engine Support

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 28, 2020 - 11:58am #7

@mcotora Any advice?

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 27, 2020 - 11:17am #6

It's been more than 2 weeks since I first reported this and nobody from Vuforia responded. This issue is affecting my app release since iOS 14 came out. I cannot upgrade my app or publish new features due to this particular issue with iOS. If there's anything else than giving you guys a repro project, please let me know. I'd love to help to solve this ASAP. If needed, please open a conversation with the developers of the Cardboard SDK as well.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 20, 2020 - 3:05pm #5

I just found out that Vuforia selects Open GL ES 3.x instead of Open GL 2.x, and that's probably why the VR is not loading (even though I only have Open GL ES2 on my player settings):

2020-10-20 18:59:39.247003-0300 XRSample[421:8804] INFO/AR(421) 2020-10-20 18:59:39: Vuforia selected rendering API OpenGL ES 3.x
2020-10-20 18:59:39.247065-0300 XRSample[421:8804] INFO/AR(421) 2020-10-20 18:59:39: Vuforia SDK version 9.4.6
2020-10-20 18:59:39.247118-0300 XRSample[421:8804] INFO/AR(421) 2020-10-20 18:59:39: Vuforia SDK build 5809
2020-10-20 18:59:39.327365-0300 XRSample[421:8804] INFO/AR(421) 2020-10-20 18:59:39: Matched precache profile for Apple, iPhone8,4, iOS 14, 800.1
2020-10-20 18:59:40.710690-0300 XRSample[421:8804] INFO/AR(421) 2020-10-20 18:59:40: Vuforia Fusion: Detected and enabled use of ARKit
2020-10-20 18:59:40.711101-0300 XRSample[421:8804] Rendering mode set to: OpenGL ES 3.x
2020-10-20 18:59:40.726141-0300 XRSample[421:8804] Rendering mode set to: OpenGL ES 3.x
Unknown screen orientation received! Assuming it is Landscape Left.
Vuforia.RuntimeExtensionMethods:ToVuforiaScreenOrientation(ScreenOrientation)
Vuforia.IOSUnityPlayer:SetUnityScreenOrientation()
Vuforia.IOSUnityPlayer:ContinueInit()
Vuforia.VuforiaRuntime:InitInternal()

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 16, 2020 - 7:36am #4

We're having the same issue. This is a critical issue for us that leaves the app unusable on iOS.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 14, 2020 - 4:51am #3

Same happens to me, can't use vuforia with google cardboad on Unity 2019, that's devastating, because we have a project that already uses both and we can't upgrade it since ios 14.0.1 came out.

Unity 2019 LTS Vuforia + Cardboard iOS Issue

October 13, 2020 - 7:41am #2

I've created a repository to reproduce the problem containing only the Cardboard VR Sample scene and Vuforia binaries. It can be easily tested just by building to iOS and seeing that VR view does not load and shows the exact same debug log I posted here. The project is using Unity 2019.4.11f1.

Figured this might help Vuforia devs to debug the issue (and if it's something related to Vuforia).

Log in or register to post comments