Building with Unity 5.3.1f1 personal and Vuforia-unity 5-0-10.
I build and deploy but cannot run - get black/blank screen on my iPhone 6 Plus and following errors in xCode:
2015-12-19 00:25:01.215 ProductName[234:4312] -> registered mono modules 0x101303e70
2015-12-19 00:25:01.388 ProductName[234:4312] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
Init: screen size 1080x1920
Initializing Metal device caps
Initialize engine version: 5.3.1f1 (cc9cbbcc37b4)
UnloadTime: 2.487291 ms
Setting BehaviourComponentFactory
Vuforia.ComponentFactoryStarterBehaviour:SetBehaviourComponentFactory()
Vuforia.ComponentFactoryStarterBehaviour:Awake()
UnityEngine.GameObject:AddComponent()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
Setting Unity version 5.3.1
QCAR Extension version 5.0.10
Initializing Vuforia...
2015-12-19 00:25:02.641 ProductName[234:4312] QCAR SDK version 5.0.10
2015-12-19 00:25:03.052 ProductName[234:4312] DEBUG/AR(234) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
Vuforia initialization successful
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
trackerManagerInitTracker
trackerManagerInitTracker
Creating a Mono Camera Configuration (Check for reflection)
Vuforia.VuforiaAbstractBehaviour:ConfigureView()
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
2015-12-19 00:25:03.108 ProductName[234:4312] VideoBackgroundConfig with screen size of zero received, skipping config step
SetHint
Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
SetHint
Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
SetHint
Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
StartVuforia
Vuforia.VuforiaAbstractBehaviour:StartVuforia(Boolean, Boolean)
Vuforia.VuforiaAbstractBehaviour:Start()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
cameraDeviceInitCamera
2015-12-19 00:25:03.154 ProductName[234:4312] *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: (
Width,
Height
)
cameraDeviceGetVideoMode
2015-12-19 00:25:03.163 ProductName[234:4312] VideoBackgroundConfig with screen size of zero received, skipping config step
cameraDeviceSelectVideoMode
cameraDeviceStartCamera
markerTrackerStart
objectTrackerStart
Trackable _Close-Quarters-Assault-Rifle-Target lost
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
Trackable m4r1 lost
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
Trackable m4r1 lost
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
cameraDeviceGetVideoMode
cameraDeviceGetVideoMode
Setting up 1 worker threads for Enlighten.
Thread -> id: 16ef2b000 -> priority: 1
cameraDeviceGetVideoMode
Black Screen and Errors -latest builds Unity Vuforia
Solution: In Unity - Player settings - Other settings - Auto Graphic API must be unchecked and Graphic APIs must be OpenGLES2.
Black Screen and Errors -latest builds Unity Vuforia
It worked! Thank you very much.
Black Screen and Errors -latest builds Unity Vuforia
The Unity player settings for Vuforia are also described here:
https://developer.vuforia.com/forum/faq/unity-player-settings