Log in or register to post comments

not recognise AR target image on my IOS phone: AR(14320)

June 4, 2017 - 8:13am #1

I buld test application simply image recognition. Wokr with Unity 3d. In Unity my application is work perfect. When I compile it to my Iphone - camera work but target image is not recognise. Unity 3d - 5.6.1f1 , Vuforia - 6.2.

In Unity before compilation for the Iphone - allow camera, try all Auto Graphics API - Metal,  OPENGLES2, OPENGLES3 - result was the same.

Here my xcode log. Mark by the Bold the line in the log which probably point to the error, but have no idea how to fix that.



2017-06-04 16:41:14.537429+0200 Xaliava[14320:8422597] [DYMTLInitPlatform] platform initialization successful

2017-06-04 16:41:14.616641+0200 Xaliava[14320:8422547] -> registered mono modules 0x101451c00

2017-06-04 16:41:15.323820+0200 Xaliava[14320:8422547] 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()

Player data archive not found at `/var/containers/Bundle/Application/D7EF2133-1E47-4141-8844-890FB34ADF24/Xaliava.app/Data/data.unity3d`, using local filesystem2017-06-04 16:41:15.518254+0200 Xaliava[14320:8422547] libMobileGestalt MobileGestaltSupport.m:153: pid 14320 (Xaliava) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled

2017-06-04 16:41:15.518452+0200 Xaliava[14320:8422547] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)

-> applicationDidBecomeActive()

Renderer: Apple A8 GPU

Vendor:   Apple Inc.

Version:  OpenGL ES 2.0 Apple A8 GPU - 96.27.1

GLES:     2

GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_r

ead_format GL_IMG_texture_compression_pvrtc

OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level  <OpenGL ES 2.0> ; Context handle 1881288032

Initialize engine version: 5.6.1f1 (2860b30f0b54)

OnLevelWasLoaded was found on VuforiaAbstractBehaviour

This message has been deprecated and will be removed in a later version of Unity.

Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed



(Filename:  Line: 376)

OnLevelWasLoaded was found on VuforiaBehaviour

This message has been deprecated and will be removed in a later version of Unity.

Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed



(Filename:  Line: 376)

-------- Shader compilation failed

#version 100

#extension GL_EXT_frag_depth : enable

precision highp float;

uniform highp vec4 _ProjectionParams;

uniform highp vec4 _ZBufferParams;

uniform highp mat4 unity_CameraToWorld;

uniform highp mat4 _NonJitteredVP;

uniform highp mat4 _PreviousVP;

uniform highp sampler2D _CameraDepthTexture;

varying highp vec2 xlv_TEXCOORD0;

varying highp vec3 xlv_TEXCOORD1;

void main ()

{

  highp vec4 tmpvar_1;

  tmpvar_1 = texture2D (_CameraDepthTexture, xlv_TEXCOORD0);

  mediump vec2 tmpvar_2;

  highp vec4 tmpvar_3;

  tmpvar_3.w = 1.0;

  tmpvar_3.xyz = ((xlv_TEXCOORD1 * (_ProjectionParams.z / xlv_TEXCOORD1.z)) * (1.0/((

    (_ZBufferParams.x * tmpvar_1.x)

   + _ZBufferParams.y))));

  highp vec4 tmpvar_4;

  tmpvar_4 = (unity_CameraToWorld * tmpvar_3);

  highp vec4 tmpvar_5;

  tmpvar_5 = (_PreviousVP * tmpvar_4);

  highp vec4 tmpvar_6;

  tmpvar_6 = (_NonJitteredVP * tmpvar_4);

  highp vec2 tmpvar_7;

  tmpvar_7 = (((tmpvar_5.xy / tmpvar_5.w) + 1.0) / 2.0);

  highp vec2 tmpvar_8;

  tmpvar_8 = (((tmpvar_6.xy / tmpvar_6.w) + 1.0) / 2.0);

  tmpvar_2 = (tmpvar_8 - tmpvar_7);

  mediump vec4 tmpvar_9;

  tmpvar_9.zw = vec2(0.0, 1.0);

  tmpvar_9.xy = tmpvar_2;

  gl_FragDepthEXT = tmpvar_1.x;

  gl_FragData[0] = tmpvar_9;

}

-------- failed compiling:

fragment evaluation shader

WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported

ERROR: 0:38: Use of undeclared identifier 'gl_FragDepthEXT'

Note: Creation of internal variant of shader 'Hidden/Internal-MotionVectors' failed.

WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Pass '' has no vertex shader

WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Setting to default shader.

WARNING: Shader Unsupported: 'Hidden/VR/BlitCopyFromTexArray' - Pass '' has no vertex shader

WARNING: Shader Unsupported: 'Hidden/VR/BlitCopyFromTexArray' - Setting to default shader.

UnloadTime: 1.677083 ms

Setting BehaviourComponentFactory

Vuforia.ComponentFactoryStarterBehaviour:SetBehaviourComponentFactory()

Vuforia.ComponentFactoryStarterBehaviour:Awake()

UnityEngine.GameObject:AddComponent()

Vuforia.VuforiaBehaviour:Awake()



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Initializing Vuforia...

2017-06-04 16:41:18.806425+0200 Xaliava[14320:8422547] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2017-06-04 16:41:18.807061+0200 Xaliava[14320:8422547] [MC] Reading from public effective user settings.

2017-06-04 16:41:18.811701+0200 Xaliava[14320:8422547] INFO/AR(14320) 2017-06-05 16:41:18: Vuforia selected rendering API OpenGL ES 2.x

2017-06-04 16:41:18.811765+0200 Xaliava[14320:8422547] INFO/AR(14320) 2017-06-05 16:41:18: Vuforia SDK version 6.2.9

2017-06-04 16:41:18.913073+0200 Xaliava[14320:8422547] Rendering mode set to: OpenGL ES 2.0

2017-06-04 16:41:18.947563+0200 Xaliava[14320:8422547] Rendering mode set to: OpenGL ES 2.0

2017-06-04 16:41:18.948080+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView has CAEAGLLayer layer class

2017-06-04 16:41:18.948163+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView does not respond to selector renderFrameVuforia

2017-06-04 16:41:18.948199+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView has CAEAGLLayer layer class

2017-06-04 16:41:18.948225+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView does not respond to selector renderFrameVuforia

2017-06-04 16:41:18.948249+0200 Xaliava[14320:8422547] DEBUG/AR(14320) Could not find a UIView with CAEAGLLayer or CAMetalLayer layer class that responds to selector renderFrameVuforia

Vuforia initialization successful

Vuforia.VuforiaRuntime:InitVuforia()



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

SetHint

Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

SetHint

Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

SetHint

Vuforia.VuforiaUnityImpl:SetHint(VuforiaHint, Int32)

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-06-04 16:41:19.016215+0200 Xaliava[14320:8422547] ERROR/AR(14320) 2017-06-05 16:41:19: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

2017-06-04 16:41:19.017735+0200 Xaliava[14320:8422547] INFO/AR(14320) 2017-06-05 16:41:19: ObjectTracker: Successfully created dataset

Successfully created data set.

Creating Image Target with values:

ID:           1

Name:         03

Path:         QCAR/04062017.xml

Size:         1x0.716479

Vuforia.StateManagerImpl:CreateImageTargetBehaviour(ImageTarget)

Vuforia.StateManagerImpl:CreateMissingDataSetTrackableBehaviours(DataSet)

Vuforia.StateManagerImpl:AssociateTrackableBehavioursForDataSet(DataSet)

Vuforia.DataSetImpl:Load(String, StorageType)

Vuforia.DataSetImpl:Load(String)

Vuforia.DatabaseLoadARController:LoadDatasets()

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Creating Image Target with values:

ID:           2

Name:         stones

Path:         QCAR/04062017.xml

Size:         3x2.1

Vuforia.StateManagerImpl:CreateImageTargetBehaviour(ImageTarget)

Vuforia.StateManagerImpl:CreateMissingDataSetTrackableBehaviours(DataSet)

Vuforia.StateManagerImpl:AssociateTrackableBehavioursForDataSet(DataSet)

Vuforia.DataSetImpl:Load(String, StorageType)

Vuforia.DataSetImpl:Load(String)

Vuforia.DatabaseLoadARController:LoadDatasets()

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

StartVuforia

Vuforia.VuforiaARController:StartVuforia(Boolean)

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

cameraDeviceStartCamera

Creating a Mono Camera Configuration (Check for reflection)

Vuforia.DigitalEyewearARController:ConfigureView()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.VuforiaARController:Start()

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-06-04 16:41:19.599136+0200 Xaliava[14320:8422547] ERROR/AR(14320) 2017-06-05 16:41:19: VideoBackgroundConfig with screen size of zero received, skipping config step

2017-06-04 16:41:19.617863+0200 Xaliava[14320:8422604] Deleting old image data @ 0x0

2017-06-04 16:41:19.618002+0200 Xaliava[14320:8422604] Created new image data buffer @ 0x109ce8000 w/ 1382400 bytes

Setting up 1 worker threads for Enlighten.

  Thread -> id: 16f9eb000 -> priority: 1

2017-06-04 16:41:45.546206+0200 Xaliava[14320:8422547] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

2017-06-04 16:41:45.546310+0200 Xaliava[14320:8422547] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

2017-06-04 16:41:45.557269+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView has CAEAGLLayer layer class

2017-06-04 16:41:45.557401+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView does not respond to selector renderFrameVuforia

2017-06-04 16:41:45.557436+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView has CAEAGLLayer layer class

2017-06-04 16:41:45.557463+0200 Xaliava[14320:8422547] DEBUG/AR(14320) UIView does not respond to selector renderFrameVuforia

2017-06-04 16:41:45.557488+0200 Xaliava[14320:8422547] DEBUG/AR(14320) Could not find a UIView with CAEAGLLayer or CAMetalLayer layer class that responds to selector renderFrameVuforia

-> applicationWillResignActive()

StopVuforia

Vuforia.VuforiaARController:StopVuforia()

Vuforia.VuforiaARController:OnApplicationPause(Boolean)

System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)



(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

-> applicationDidEnterBackground()

Log in or register to post comments