Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

Vuforia AR not working iOS #20

Closed
Closed
@arfa123

Description

@arfa123

I have developing React Native app in which there is AR feature. The app working fine on Android but in iOS successfully run but AR is not working. I have run the same Unity project directly without RN integration and its working fine on my iPad but when I export this project to integrate in my React Native app, Vuforia camera opening but AR not working.

Unity: 2019.4.10f1
Vuforia: 9.4.6
React Native: 0.62.2

This is the log on XCode after rendering UnityView:


2020-09-18 23:13:37.718945+0500 MyFirstPrayer[1853:957853] [Window] Manually adding the rootViewController's view to the view hierarchy is no longer supported. Please allow UIWindow to add the rootViewController's view to the view hierarchy itself.

Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated

-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A10 GPU
Initialize engine version: 2019.4.10f1 (5311b3af6f69)
2020-09-18 23:13:38.788304+0500 MyFirstPrayer[1853:957853] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x11d425260>.
UnloadTime: 5.941333 ms
Compiled for iOS
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.PlatformRuntimeInitialization:InitPlatform()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Initializing Vuforia Engine
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaRuntime:InitVuforia()
Vuforia.VuforiaRuntime:VuforiaInitialization()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Vuforia Engine Version: 9.4.6
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaRuntime:LogVersions()
Vuforia.VuforiaRuntime:InitVuforia()
Vuforia.VuforiaRuntime:VuforiaInitialization()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Vuforia Engine Unity Extension Version: 9.4.6
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaRuntime:LogVersions()
Vuforia.VuforiaRuntime:InitVuforia()
Vuforia.VuforiaRuntime:VuforiaInitialization()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unity Editor Version: 2019.4.10f1
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaRuntime:LogVersions()
Vuforia.VuforiaRuntime:InitVuforia()
Vuforia.VuforiaRuntime:VuforiaInitialization()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

2020-09-18 23:13:40.765786+0500 MyFirstPrayer[1853:957853] User pre-granted access to the camera
2020-09-18 23:13:40.765905+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:40: Vuforia selected rendering API OpenGL ES 2.x
2020-09-18 23:13:40.765957+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:40: Vuforia SDK version 9.4.6
2020-09-18 23:13:40.765993+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:40: Vuforia SDK build 5809
2020-09-18 23:13:40.891872+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:40: Matched precache profile for Apple, iPad7,5, iOS 13, 800.1
2020-09-18 23:13:42.148450+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:42: Vuforia Fusion: Detected and enabled use of ARKit
2020-09-18 23:13:42.149215+0500 MyFirstPrayer[1853:957853] Rendering mode set to: OpenGL ES 2.0
Vuforia Engine initialization successful
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaRuntime:CheckInitStatus(InitError)
Vuforia.VuforiaRuntime:InitInternal()
Vuforia.VuforiaRuntime:InitVuforia()
Vuforia.VuforiaRuntime:VuforiaInitialization()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Trackable ArfaCard-01 NO_POSE -- UNKNOWN
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogFormat(String, Object[])
DefaultTrackableEventHandler:OnTrackableStatusChanged(StatusChangeResult)
System.Action`1:Invoke(T)
Vuforia.TrackableBehaviour:RegisterOnTrackableStatusChanged(Action`1)
DefaultTrackableEventHandler:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Dataset handwash could not be loaded and cannot be activated.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Vuforia.DatabaseLoadARController:LoadDatasets()
Vuforia.VuforiaARController:StartAfterInitializationCompleted()
Vuforia.VuforiaARController:Start()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
System.Delegate:DynamicInvokeImpl(Object[])
System.MulticastDelegate:DynamicInvokeImpl(Object[])
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Start Vuforia Engine
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.VuforiaARController:StartVuforia(Boolean)
Vuforia.VuforiaARController:StartAfterInitializationCompleted()
Vuforia.VuforiaARController:Start()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
System.Delegate:DynamicInvokeImpl(Object[])
System.MulticastDelegate:DynamicInvokeImpl(Object[])
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

cameraDeviceStartCamera
2020-09-18 23:13:42.247740+0500 MyFirstPrayer[1853:957853] INFO/AR(1853) 2020-09-18 23:13:42: Starting camera with profile for iPad7,5, 800.1
Starting Positional Device Tracker.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Vuforia.PositionalDeviceTrackerImpl:Start()
Vuforia.VuforiaARController:StartVuforia(Boolean)
Vuforia.VuforiaARController:StartAfterInitializationCompleted()
Vuforia.VuforiaARController:Start()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
System.Delegate:DynamicInvokeImpl(Object[])
System.MulticastDelegate:DynamicInvokeImpl(Object[])
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

2020-09-18 23:13:42.254611+0500 MyFirstPrayer[1853:957853] ERROR/AR(1853) 2020-09-18 23:13:42: VideoBackgroundConfig with screen size of zero received, skipping config step
Trackable noseWash NO_POSE -- UNKNOWN
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogFormat(String, Object[])
DefaultTrackableEventHandler:OnTrackableStatusChanged(StatusChangeResult)
System.Action`1:Invoke(T)
Vuforia.TrackableBehaviour:RegisterOnTrackableStatusChanged(Action`1)
DefaultTrackableEventHandler:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Trackable handWash NO_POSE -- UNKNOWN
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogFormat(String, Object[])
DefaultTrackableEventHandler:OnTrackableStatusChanged(StatusChangeResult)
System.Action`1:Invoke(T)
Vuforia.TrackableBehaviour:RegisterOnTrackableStatusChanged(Action`1)
DefaultTrackableEventHandler:Start()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions