Topic locked

App does not detect image

March 24, 2014 - 1:28am #1

Hi,

 

I have simple app (https://developer.vuforia.com/resources/dev-guide/step-2-compiling-simple-project) using latest Unity3D 4.3.4 (Pro version) but when I print image and compile the app - app doesnt detect image.

 

The app is really simple - only AR camera and one image target with cube as child.

Here is output from Xcode:

Can't add component because class 'PremiumObjectFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()

[/Applications/buildAgent/work/d3d49558e4d408f4/Runtime/Export/GameObjectExport.cpp line 38] 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/Runtime/Export/GameObjectExport.cpp Line: 38)

Can't add component because class 'PremiumComponentFactoryStarterBehaviour' doesn't exist!
UnityEngine.GameObject:AddComponent(String)
QCARAbstractBehaviour:Awake()

[/Applications/buildAgent/work/d3d49558e4d408f4/Runtime/Export/GameObjectExport.cpp line 38] 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/Runtime/Export/GameObjectExport.cpp Line: 38)

QCARWrapper.Start
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
QCARAbstractBehaviour:Start()
 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

trackerManagerInitTracker
trackerManagerInitTracker
SetHint
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
QCARUnityImpl:SetHint(QCARHint, Int32)
QCARUnity:SetHint(QCARHint, Int32)
QCARAbstractBehaviour:Start()
 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

Setting Unity version 4.3.4
StartQCAR
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
QCARAbstractBehaviour:StartQCAR()
QCARAbstractBehaviour:Start()
 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

cameraDeviceInitCamera
2014-03-24 09:10:47.405 test1[9027:60b] *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: (
    Width,
    AVVideoScalingModeKey,
    Height
)
2014-03-24 09:10:47.414 test1[9027:60b] DEBUG/AR(9027) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
cameraDeviceGetVideoMode
2014-03-24 09:10:47.423 test1[9027:60b] DEBUG/AR(9027) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
cameraDeviceSelectVideoMode
2014-03-24 09:10:47.426 test1[9027:60b] DEBUG/AR(9027) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
cameraDeviceStartCamera
markerTrackerStart
imageTrackerStart
Trackable PriaLogo lost
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
DefaultTrackableEventHandler:OnTrackingLost()
DefaultTrackableEventHandler:OnTrackableStateChanged(Status, Status)
TrackableBehaviour:RegisterTrackableEventHandler(ITrackableEventHandler)
DefaultTrackableEventHandler:Start()
 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

cameraDeviceGetVideoMode
2014-03-24 09:10:48.175 test1[9027:60b] DEBUG/AR(9027) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR
Setting camera clear flags to depth only
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
QCARAbstractBehaviour:UpdateCameraClearFlags()
QCARAbstractBehaviour:Update()
 
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 53)

 

Where can be problem please?

App does not detect image

March 24, 2014 - 3:15am #4

Glad that it is solved :-)

App does not detect image

March 24, 2014 - 3:02am #3

Ouch :) Yeah, thats it!

I have been little bit confused with "Load Data Set Testing", but thank you for your help!

App does not detect image

March 24, 2014 - 2:32am #2

Have you checked the Load Data Set and the Activate Data Set checkboxes in the ARCamera inspector  (under Dataset Load Behaviour component ) ?

You might have just forgotten to enable those.

 

Topic locked