Log in or register to post comments

Jerky image tracking at first

June 1, 2020 - 6:02pm #1

I'm getting jerky image tracking on an iPhone 11. The first few seconds the image is recognized and tracked sporadically then after a few seconds things return to normal and tracking becomes solid again. Using Unity 2019.3.13f1 and Vuforia 9.1.7. Here's an example:

https://www.dropbox.com/s/dngf7v49ww5kcsy/2020-06-01%2017.54.35.mp4?dl=0

This only happens on mobile, not in the editor. Has anyone else seen this behavior? 

Jerky image tracking at first

September 18, 2020 - 3:50pm #7

Hi! Yes that option is enabled. 

I found other user with same problem. FPS are ok, so is not a problem of performance. 

--------------------- My initial Logs may help -------------------------------

CrashReporter: initialized

2020-09-18 18:18:42.371097-0300 WinresPlay[1819:869771] Built from '2019.3/release' branch, Version '2019.3.14f1 (2b330bf6d2d8)', Build type 'Release', Scripting Backend 'il2cpp'

-> applicationDidFinishLaunching()

2020-09-18 18:18:44.740148-0300 WinresPlay[1819:869771] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2020-09-18 18:18:44.741448-0300 WinresPlay[1819:869771] [MC] Reading from public effective user settings.

-> applicationDidBecomeActive()

[Subsystems] Discovering subsystems at path /var/containers/Bundle/Application/85DF42F4-7022-46BA-A91A-4656E6EF5605/WinresPlay.app/Data/UnitySubsystems

[Subsystems] No descriptors matched for  examples in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json

[Subsystems] No descriptors matched for  displays in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

[Subsystems] 1 'meshings' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json

GfxDevice: creating device client; threaded=1

Initializing Metal device caps: Apple A10 GPU

Initialize engine version: 2019.3.14f1 (2b330bf6d2d8)

XRGeneral Settings awakening...

UnityEngine.XR.Management.XRGeneralSettings:Awake()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



CrashReporter: No pending report exists at /var/mobile/Containers/Data/Application/890F0EFF-A84D-4706-B5EF-23A03DEFC6AD/Library/Caches/CrashReports/crash-pending.plcrash

Uploading Crash Report

InvalidOperationException: Could not find shader named 'Unlit/ARKitBackground' required for video overlay on camera subsystem.

  at UnityEngine.XR.ARSubsystems.XRCameraSubsystem+Provider.CreateCameraMaterial (System.String cameraShaderName) [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.ARKit.ARKitCameraSubsystem+ARKitProvider..ctor () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.ARKit.ARKitCameraSubsystem.CreateProvider () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.ARSubsystems.XRCameraSubsystem..ctor () [0x00000] in <00000000000000000000000000000000>:0

  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0

  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.SubsystemDescriptor`1[TSubsystem].Create () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRLoaderHelper.CreateSubsystem[TDescriptor,TSubsystem] (System.Collections.Generic.List`1[T] descriptors, System.String id) [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.ARKit.ARKitLoader.Initialize () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () [0x00000] in <00000000000000000000000000000000>:0

Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0

  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.SubsystemDescriptor`1[TSubsystem].Create () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRLoaderHelper.CreateSubsystem[TDescriptor,TSubsystem] (System.Collections.Generic.List`1[T] descriptors, System.String id) [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.ARKit.ARKitLoader.Initialize () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () [0x00000] in <00000000000000000000000000000000>:0

  at UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () [0x00000] in <00000000000000000000000000000000>:0



(Filename: currently not available on il2cpp Line: -1)



UnloadTime: 0.391792 ms

Compiled for iOS

Vuforia.PlatformRuntimeInitialization:InitPlatform()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Initializing Vuforia Engine

Vuforia.VuforiaRuntime:InitVuforia()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Vuforia Engine Version: 9.3.3

Vuforia.VuforiaRuntime:LogVersions()

Vuforia.VuforiaRuntime:InitVuforia()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Vuforia Engine Unity Extension Version: 9.3.3

Vuforia.VuforiaRuntime:LogVersions()

Vuforia.VuforiaRuntime:InitVuforia()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Unity Editor Version: 2019.3.14f1

Vuforia.VuforiaRuntime:InitVuforia()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



2020-09-18 18:18:46.627248-0300 WinresPlay[1819:869771] User pre-granted access to the camera

2020-09-18 18:18:46.627328-0300 WinresPlay[1819:869771] INFO/AR(1819) 2020-09-18 18:18:46: Vuforia selected rendering API OpenGL ES 2.x

2020-09-18 18:18:46.627367-0300 WinresPlay[1819:869771] INFO/AR(1819) 2020-09-18 18:18:46: Vuforia SDK version 9.3.3

2020-09-18 18:18:46.627400-0300 WinresPlay[1819:869771] INFO/AR(1819) 2020-09-18 18:18:46: Vuforia SDK build 5286

2020-09-18 18:18:46.689318-0300 WinresPlay[1819:869771] INFO/AR(1819) 2020-09-18 18:18:46: Matched precache profile for Apple, iPhone9,1, iOS 12, 800.1

2020-09-18 18:18:48.147523-0300 WinresPlay[1819:869771] INFO/AR(1819) 2020-09-18 18:18:48: Vuforia Fusion: Detected and enabled use of ARKit

2020-09-18 18:18:48.147765-0300 WinresPlay[1819:869771] Rendering mode set to: OpenGL ES 2.0

Unknown screen orientation received! Assuming it is Landscape Left.

Vuforia.RuntimeExtensionMethods:ToVuforiaScreenOrientation(ScreenOrientation)

Vuforia.IOSUnityPlayer:SetUnityScreenOrientation()

Vuforia.IOSUnityPlayer:ContinueInit()

Vuforia.VuforiaRuntime:InitInternal()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Unknown screen orientation received! Assuming it is Landscape Left.

Vuforia.RuntimeExtensionMethods:ToVuforiaScreenOrientation(ScreenOrientation)

Vuforia.SurfaceUtilities:SetSurfaceOrientation(ScreenOrientation)

Vuforia.IOSUnityPlayer:SetUnityScreenOrientation()

Vuforia.IOSUnityPlayer:ContinueInit()

Vuforia.VuforiaRuntime:InitInternal()



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



Vuforia Engine initialization successful

Vuforia.VuforiaRuntime:CheckInitStatus(InitError)



(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)



2020-09-18 18:18:48.850888-0300 WinresPlay[1819:869944] XPC connection interrupted

 

Jerky image tracking at first

September 14, 2020 - 6:19am #6

Hi,

Could you please confirm that the Render Over Native UI is selected? under Resolution and Presentation.

Thank you.

Vuforia Engine Support

Jerky image tracking at first

September 10, 2020 - 7:41pm #5

I'm having the same behavior. with Vuforia 9.3.3 and ios 12.x, 13.x with any of my own projects (new or already working on android). 

But the sample project on asset store works just fine.

I'll tray downgrading to 8.x

 

Jerky image tracking at first

June 4, 2020 - 4:55am #4

Hi,

I've tested with the core sample app and was *not* able to reproduce the issue.

SDK 9.1.7

Pose jitter exists for all 2D planar targets. The magnitude of the jitter (hardly noticeable to very noticeable) can be impacted by a few factors:

  • Always print the image that was uploaded to the portal to the exact same aspect ratio. Any stretching or altering of the image may cause tracking pose jitter. Some printers default to "stretch to fit", which can change the aspect ratio.
  • Check the size values you are using when uploading Targets to the Vuforia Target Manager. Note there is specific language used in the dialogue box that says Vuforia uses meters as the default unit scale. Incorrect target sizes could affect either our detection/tracking algorithm
  • Image Targets must be flat when in the camera's field of view
  • Not enough lighting upon, and/or spectral reflections occluding the Image Target
  • The entire target image is not in the camera's field of view. As Image Targets extract feature points from the target in real time (on a frame-by-frame basis), the more feature points the better the quality of the tracking experience. In most cases, this can be improved by enabling the Device Tracker (aka Extended Tracking): Unity Editor->Window->Vuforia Configuration->Device Tracker->Track Device Pose (box checked).
  • For additional tips for optimizing 2D planar targets, please see the following guide: https://library.stage.vuforia.com/articles/Solution/Optimizing-Target-Detection-and-Tracking-Stability

Thank you.

Vuforia Engine Support

Jerky image tracking at first

June 3, 2020 - 4:20pm #3

I tried Tracked, Extended Tracked and Extended Tracked Limited. Same jerkiness. I tried downgrading to Vuforia 9.0.12 in package manager with the same results. Finally, downgrading back to Vuforia 8.6.10 solves the issue and tracking is solid from the start.

Jerky image tracking at first

June 3, 2020 - 5:55am #2

Hi,

In the beginning at 0:03 it seems that tracking is lost but than it recovers fast.

Do you have extended tracking/Device tracker activated?

Thank you.

Vuforia Engine Support

Log in or register to post comments