-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Summarize the bug:
Failed to Failed to load database and failed to Create ImageTargetObserver.
Observed problem
Vuforia is not able to load the databases to create imageTargets therefore there is no tracking of image targets.
Expected result
Vuforia should be able to track images and display the 3D models.
Other observations
- Works in Android.
- works in iOS with plane tracker, wont work with image targets.
- works in unity editor but wont work on ios device.
- warning in unity console "Invalid AssetDatabase path: /project/path/flutter-unity-view-widget-master/unity/DemoApp/Assets/VuforiaLicense.cs. Use path relative to the project folder."
Reproducible steps
Followed tutorial from here : https://www.youtube.com/watch?v=XKnzW9Z1gU0 at the last step change from ground plane to image target. Using on device database.
Steps to reproduce the behavior:
Followed tutorial from here : https://www.youtube.com/watch?v=XKnzW9Z1gU0 at the last step change from ground plane to image target. Using on device database.
export to xcode
build to physical device
error apears at run time.
Affected Vuforia Engine version:
v(10.19.3)
Affected platform:
- Workstation OS: MacOS (14.2.1)
- Platform [Unity][Flutter][XCODE]
Platform version :
- unity (2022.3.14f1 apple sillicon)
- flutter (3.13.8)
- xcode (15.2)
Affected device:
- Iphone SE 2022
- OS: IOS 17.2.1
Screenshots / Video Recordings
works at unity editor
issue with iphone
Affected database
Prueba
Device or platform logs
INFO/AR(20316) Activating observer...
INFO/AR(20316) Activated observer with ID '1'
INFO/AR(20316) Activating observer...SUCCESS
INFO/AR(20316) Starting Vuforia Engine instance...
INFO/AR(20316) Starting camera with profile for iPhone12,8, 800.1
INFO/AR(20316) Starting Vuforia Engine instance...SUCCESS
Creating dataset: Vuforia/Prueba.xml/Trex
Vuforia.Internal.Utility.UnityLogger:LogInfo(String, Object[])
Vuforia.Internal.Utility.Log:Info(String, Object[])
Vuforia.ImageTargetBehaviour:CreateObserverFromDataset(IObserverFactory)
Vuforia.ImageTargetBehaviour:CreateFromSerializedTarget()
Vuforia.ObserverBehaviour:OnVuforiaStarted()
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.Internal.Core.Engine:OnStart()
Vuforia.Internal.Core.Engine:Start(Action)
Vuforia.Internal.Core.Engine:Start()
Vuforia.VuforiaBehaviour:AfterVuforiaInitialized(VuforiaInitError)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Core.Engine:InitOnCameraReady()
Vuforia.Internal.ExternalCamera.NullExternalCamera:Init(Func`1)
Vuforia.Internal.Core.Engine:<Init>b__160_0()
Vuforia.Internal.Core.EnginePermissions:OnPermissionRequestFinished(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.<>c__DisplayClass0_0:<CreateRequester>b__0(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.IOSPermissionRequester:Finish()
Vuforia.Internal.Permissions.<RequestPermissions>d__15:MoveNext()
INFO/AR(20316) Creating ImageTargetObserver...
ERROR/AR(20316) Failed to load database 'Vuforia/Prueba.xml'.
ERROR/AR(20316) Creating ImageTargetObserver...FAILED
Vuforia.Internal.Utility.UnityLogger:LogError(String, Object[])
Vuforia.Internal.Utility.Log:Error(String, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.Internal.Core.Engine:OnStart()
Vuforia.Internal.Core.Engine:Start(Action)
Vuforia.Internal.Core.Engine:Start()
Vuforia.VuforiaBehaviour:AfterVuforiaInitialized(VuforiaInitError)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Core.Engine:InitOnCameraReady()
Vuforia.Internal.ExternalCamera.NullExternalCamera:Init(Func`1)
Vuforia.Internal.Core.Engine:<Init>b__160_0()
Vuforia.Internal.Core.EnginePermissions:OnPermissionRequestFinished(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.<>c__DisplayClass0_0:<CreateRequester>b__0(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.IOSPermissionRequester:Finish()
Vuforia.Internal.Permissions.<RequestPermissions>d__15:MoveNext()
Vuforia Started
Vuforia.Internal.Utility.UnityLogger:LogInfo(String)
Vuforia.Internal.Utility.Log:Info(String)
Vuforia.Internal.Core.Engine:Start(Action)
Vuforia.Internal.Core.Engine:Start()
Vuforia.VuforiaBehaviour:AfterVuforiaInitialized(VuforiaInitError)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Core.Engine:InitOnCameraReady()
Vuforia.Internal.ExternalCamera.NullExternalCamera:Init(Func`1)
Vuforia.Internal.Core.Engine:<Init>b__160_0()
Vuforia.Internal.Core.EnginePermissions:OnPermissionRequestFinished(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.<>c__DisplayClass0_0:<CreateRequester>b__0(Boolean)
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action`1, T)
Vuforia.Internal.Permissions.IOSPermissionRequester:Finish()
Vuforia.Internal.Permissions.<RequestPermissions>d__15:MoveNext()
Vuforia.Internal.Utility.UnityLogger:LogInfo(String)
Vuforia.Internal.Utility.Log:Info(String)
Vuforia.MonoCameraConfiguration:ConfigureVideoBackground(Matrix4x4)
Vuforia.MonoCameraConfiguration:CheckForSurfaceChanges(Matrix4x4)
Vuforia.CameraController:UpdateCamera(Matrix4x4)
Vuforia.Internal.Core.StateProcessor:ProcessState(IVuState, IDictionary`2, IVideoBackgroundRenderer, IVBAugmentationRenderer, ICameraController, IWorldOriginProvider, DeviceObserver)
Vuforia.Internal.Core.Engine:UpdateState()
Vuforia.Internal.Core.Engine:OnUnityUpdate()
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.Internal.Core.UnityLifeCycleListener:Update()
19 UnityFramework 0x000000010ba8e898 VuforiaBehaviour_AfterVuforiaInitialized_m496A0E0ABF4D1C1306BB9875824DF84957DF1E44 + 152
35 UnityFramework 0x000000010a8bce5c _Z146DelegateHelper_InvokeWithExceptionHandling_TisVuforiaInitError_t3C5C78DBB18E9AFDA795BBDF4A176F8C96A5BC88_m27CAC8CEB1E2CACE9FF1499178F59125E8F1C4C7P50Action_1_tF4CAAB52A69FEBB4D629E2D59C8EE77A263FEE43iPK10MethodInfo + 44
Other observation:
- Changed password.
- Deleted previous databases.
- Created new database and targets.
- upgraded to 10.20 still no luck.