Log in or register to post comments

Vuforia failed to initialize

August 9, 2020 - 6:06am #1

hi

I use vuforia and it works until i added a speechRecegnation package to my project. after that if package android manifest be in project vuforia failed to initialize. , and if i remove the manifest vuforia works but package stop working

what should i do?

Vuforia failed to initialize

August 11, 2020 - 12:27am #4

Hi,

Thank you for the provided logcat, below error might indidicate why init is failing:

08-10 17:22:28.118 20689 20755 D AR      : RenderManager: Could not retrieve a valid GLSurfaceView in view hierarchy, therefore cannot set any render mode

08-10 17:22:28.338 20689 20701 E Unity   : InvalidScreenOrientationException: Unsupported screen orientation Unknown

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.RuntimeExtensionMethods.ToVuforiaScreenOrientation (UnityEngine.ScreenOrientation orientation) [0x0003b] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.AndroidUnityPlayer.ResetUnityScreenOrientation () [0x00006] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.AndroidUnityPlayer.InitializeSurface () [0x00039] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.AndroidUnityPlayer.ContinueInit () [0x0000b] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.VuforiaRuntime.InitInternal () [0x00053] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.VuforiaRuntime.InitVuforia () [0x0002d] in <a8a383577f644b738e20091245342002>:0

08-10 17:22:28.338 20689 20701 E Unity   :   at Vuforia.VuforiaRuntime.VuforiaInitialization () [0x0001d] in <a8a383577f644b738e20091245342002>:0

Could you please let me know if the speech recognition software is using audio of video/pictures? I believe it is trying to access the camera and as Vuforia is not able to access the camera, the init fails.

Thank you.

Vuforia Engine Support

Vuforia failed to initialize

August 10, 2020 - 5:55am #3

logcat

AttachmentSize
Plain text icon logcat.txt8.49 KB

Vuforia failed to initialize

August 10, 2020 - 3:44am #2

Hi,

Could you please provide a logcat dump using $ adb logcat AR:D Unity:D *:S ?

I would wand to see the exact error that is happening when it fails to init.

Thank you.

Vuforia Engine Support

Log in or register to post comments