Vuforia SDK Version: 3.0.9 -
Description with steps to reproduce:
I have a problem using Vuforia with Unity 4.5.4.
I use an iPad 2 with iOS 8.1.2 and an iPad 3 with 8.1.1 as test devices and on both (and additional test devices my customer uses) I sometimes (about 50% of the cases) I get a black screen instead of the camera background. The app does not freeze, but does not track either. I also tried the Background Texture example and was able to reproduce the error (with a white background as this example inverts camera input). I also tried some of the solutions suggested in other bugs:
- Black Background Object render echos
Does not fit, because I don't have render echoes and I didn't change Clear Flags. - Cannot see camera's view (Unity+iOS)
Seems to be the same as above. - Background Texture Access iOS 8 Black Screen
This one is similar (although I don't have to suspend the app to background to get this error). But there is no solution.
I also noted that this part of the app's output seems to be related to the error:
cameraDeviceInitCamera Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR cameraDeviceGetVideoMode Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR cameraDeviceSelectVideoMode Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR cameraDeviceStartCamera markerTrackerStart imageTrackerStart cameraDeviceGetVideoMode Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView has CAEAGLLayer class Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) UIView does not respond to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 10:47:16 hueck3d[9819:1743351] DEBUG/AR(9819) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR -> applicationWillResignActive()
This was from my app, the Background Texture example outputs similar errors:
Dec 16 11:14:15 bta[9856] <Warning>: INFO/AR(9856) 2014-12-16 11:14:15: ImageTracker: Successfully created dataset Dec 16 11:14:15 bta[9856] <Warning>: *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: ( Height, Width ) Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 11:14:15 kernel[0] <Notice>: AppleH4CamIn::ISP_SelectBestMIPIFrequencyIndex_gated - channel: 0, index: 0 Dec 16 11:14:15 backboardd[56] <Warning>: |GAXGeneral|info| Did verify event: [Substantial Transition did occur]. Outcome: [Error - Session app was nil]. Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:15 bta[9856] <Warning>: DEBUG/AR(9856) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR Dec 16 11:14:16 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:16 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:16 bta[9856] <Warning>: DEBUG/AR(9856) UIView has CAEAGLLayer class Dec 16 11:14:16 bta[9856] <Warning>: DEBUG/AR(9856) UIView does not respond to selector renderFrameQCAR Dec 16 11:14:16 bta[9856] <Warning>: DEBUG/AR(9856) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
Any ideas what this may be about and how to fix it?
-
Development OS (Mac OS X, Windows, Linux): Mac OS X Yosemite -
Mobile OS and Version: 8.1.2 -
Mobile Device Manufacturer and Model name: Apple iPad 2 & 3 -
Do the Vuforia Sample Applications show the same behavior?: Yes, Background Texture example does the same.
As an additional info:
is your Unity project setup also relying on the use of multiple cameras (e.g. one ARCamera and one Background Camera) like in the BTA sample ?