Thanks for your quick reply Strasza.
Some quick info about my app: I start in a non AR Scene and launch a Vuforia Scene from there. I'm using Vuforia Unity 6.2.10, Unity 5.6.2f1 and camera mode MODE_OPTIMIZE_QUALITY. I also tested it on iPhone 6S, iPhone 7, iPad Pro 10.5 and iPad Pro 12.9 (first gen) and everything works fine on these devices. Just the iPad Air and Air 2 show this behaviour. Again, the exact same build (IPA-file created on July 12th) was working fine on the Air and now stopped working.
When my first Scene launches I get the following logs after Vuforia Initializing:
DEBUG/AR(551) UIView has CAMetalLayer layer class
DEBUG/AR(551) UIView does not respond to selector renderFrameVuforia
DEBUG/AR(551) UIView has CAMetalLayer layer class
DEBUG/AR(551) UIView does not respond to selector renderFrameVuforia
DEBUG/AR(551) Could not find a UIView with CAEAGLLayer or CAMetalLayer layer class that responds to selector renderFrameVuforia
DEBUG/AR(551) Could not find a UIView with CAEAGLLayer or CAMetalLayer layer class that responds to selector renderFrameVuforia
When I start the AR Scene I get this:
ERROR/AR(551) 2017-07-27 08:42:37: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.
ERROR/AR(551) 2017-07-27 08:42:38: VideoBackgroundConfig with screen size of zero received, skipping config step
The tracking does work though, I get the correct Trackable found/lost messages when pointing the camera at the target.
I also tried Delayed Initialization and manually starting Vuforia in OnAwake in my AR Scene but that didn't change it.
Now I tried to change the graphics API. On OpenGLES 3 I get the exact same logs (but with CAEAGLLayer instead of CAMetalLayer) and the screen is now black instead of blue-gray, so that just seems to be a Metal thing.
Next I tried OpenGLES 2 and it works. The camera shows up as normal, I just get some shader errors but I don't see any issues from that.
I would still like to use Metal so this isn't really a fix for me. I hope those infos can point you in the right direction, something must have changed in the last two weeks on your end or else everything should work fine like before.
I tried to replicate the issue in a clean project but I can't. My project is fairly complicated with mixed in VR support and loading of the AR Scenes in AssetBundles from a server. I'm also getting all of the above logs in the clean project.
Thanks
Thomas
Hello Thomas,
The update we made to fix the iPad Pro 10.5 only affects that device and would not cause changes to any other devices. The issue you are describing sounds different from the one experienced on the iPad Pro 10.5 (you're seeing gray/blue instead of black). Are you seeing any error messages in the logs when you see this issue?
Thanks,
-Vuforia Support