Log in or register to post comments

Failed to create ModelTargetObserver: DATABASE_LOAD_ERROR.

Unity Editor
September 6, 2022 - 7:58pm #1

My Unity version is 2021.3.9f1

My Vuforia version is 10.9.3

I'm using webcam on my laptop as AR camera. But each time I click on "play", the scene showed the webcam view without any guide view lines and object recognition. There's an error goes:

Exception in callback: Failed to create ModelTargetObserver: DATABASE_LOAD_ERROR.

UnityEngine.Debug:LogErrorFormat (string,object[])

Vuforia.Internal.Utility.UnityLogger:LogError (string,object[])

Vuforia.Internal.Utility.Log:Error (string,object[])

Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate (System.Delegate,object[])

Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling (System.Action)

Vuforia.Internal.Core.Engine:OnStart ()

Vuforia.Internal.Core.Engine:Start (System.Action)

Vuforia.Internal.Core.Engine:Start ()

Vuforia.VuforiaBehaviour:VuforiaInitialized (Vuforia.VuforiaInitError)

System.Delegate:DynamicInvoke (object[])

Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate (System.Delegate,object[])

Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling<Vuforia.VuforiaInitError> (System.Action`1<Vuforia.VuforiaInitError>,Vuforia.VuforiaInitError)

Vuforia.Internal.Core.Engine:InitOnCameraReady ()

Vuforia.WebCam:HandleFirstWebCamFrame ()

Vuforia.WebCam:<Init>b__33_0 (bool)

Vuforia.Internal.Utility.VuforiaCoroutineUtility/<RunCoroutineWithTimeout>d__1:MoveNext ()

UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)

 

Can anyone help me to fix this error?

Thanks a lot!

Platform: 

Failed to create ModelTargetObserver: DATABASE_LOAD_ERROR.

September 8, 2022 - 4:06am #2

Hey there,

 

Are you creating the Model Target (MT) during runtime, or do you just have an Model Target Behavior added in the scene? I'd suggest to check if there's only one MT in the scene, as you cannot have two active in the same scene. Alternatively you could share your dataset and I could check it out. 

 

Kind regards,

Patrick Scheper

Vuforia Engine Product Manager

Log in or register to post comments