Forum Discussion
taiko.engineer
2 years agoHonored Guest
Voice SDK Activate() crash in Android build on Meta Quest 3
Hey,
Using Unity 2023.2.2.
Whenever i call Activate() on the VoiceService (VoiceActivationButton) the app crashes with the following error:
Any suggestions?
2023/12/08 18:22:15.037 26663 26687 Info Unity [INFO] [VSDK <WaitForMics>d__71] Found 1 Mics
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object)
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.Mic:RefreshMicDevices()
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.<WaitForMics>d__71:MoveNext()
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.Mic:SafeStartMicrophone()
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type)
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:AddComponent()
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_MicInput()
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:OnEnable()
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type)
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:AddComponent()
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_Instance()
2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:GetActivateAudioError()
2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.VoiceService:CanActivateAudio()
2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:CanActivateAudio()
2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents)
2023/12/08 18:22:15.037 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate()
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invoke()
2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.Ev
2023/12/08 18:22:15.038 26663 26725 Info AAudio AAudioStreamBuilder_openStream() called ----------------------------------------
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder rate = 16000, channels = 1, channelMask = 0x80000001, format = 5, sharing = SH, dir = INPUT
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder device = 0, sessionId = -1, perfMode = 10, callback: ON with frames = 0
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder usage = 0, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder privacy sensitive = false
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder opPackageName = (null)
2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder attributionTag = (null)
2023/12/08 18:22:15.038 26663 26725 Debug AudioStreamBuilder build() MMAP not used because AAUDIO_PERFORMANCE_MODE_LOW_LATENCY not requested.
2023/12/08 18:22:15.038 26663 26725 Debug mplate.urpblan PlayerBase::PlayerBase()
2023/12/08 18:22:15.039 26663 26687 Info Unity [INFO] [VSDK <WaitForMics>d__71] Reserved mic Android audio input
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object)
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.Mic:StartMicrophone()
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.<WaitForMics>d__71:MoveNext()
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.Mic:SafeStartMicrophone()
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type)
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:AddComponent()
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_MicInput()
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:OnEnable()
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type)
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:AddComponent()
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_Instance()
2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:GetActivateAudioError()
2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.VoiceService:CanActivateAudio()
2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:CanActivateAudio()
2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents)
2023/12/08 18:22:15.039 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate()
2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invok
2023/12/08 18:22:15.040 26663 26687 Info Unity [LOG] [VSDK VoiceActivationButton] Voice is not initialized. Attempting to initialize before activating.
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2023/12/08 18:22:15.040 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object)
2023/12/08 18:22:15.040 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents)
2023/12/08 18:22:15.040 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate()
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invoke()
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessPointerButton(ButtonDeltaState, PointerEventData)
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessTrackedDevice(TrackedDeviceModel&, Boolean)
2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.XRUIInputModule:DoProcess()
2023/12/08 18:22:15.040 26663 26687 Info Unity
2023/12/08 18:22:15.040 26663 26687 Debug Unity > FindClass(com/unity3d/player/UnityPlayer)
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.ReflectionHelper" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64, /system/lib64, /system_ext/lib64]]
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:218)
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579]
2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] in call to FindClass
2023/12/08 18:22:15.055 26663 26725 Debug AAudioStream setState(s#2) from 0 to 2
2023/12/08 18:22:15.055 26663 26725 Info AAudio AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ----------------
2023/12/08 18:22:15.055 26663 26725 Debug AAudio AAudioStream_requestStart(s#2) called --------------
2023/12/08 18:22:15.055 26663 26725 Debug AAudioStream setState(s#2) from 2 to 3
2023/12/08 18:22:15.065 26663 26725 Debug AAudio AAudioStream_requestStart(s#2) returned 0 ---------
2023/12/08 18:22:15.065 26663 26680 Debug AudioStreamLegacy onAudioDeviceUpdate(deviceId = 14)
2023/12/08 18:22:15.066 26663 26680 Debug AudioStreamLegacy onAudioDeviceUpdate(deviceId = 14)
2023/12/08 18:22:15.070 26663 26779 Info VrApi FPS=72/72,Prd=52ms,Tear=0,Early=31,Stale=0,Stale2/5/10/max=0/0/0/0,VSnc=0,Lat=-1,Fov=0,CPU4/GPU=2/2,2361/456MHz,OC=3F,TA=0/0/0,SP=N/N/N,Mem=2736MHz,Free=3259MB,PLS=0,Temp=30.0C/0.0C,TW=1.30ms,App=8.08ms,GD=0.00ms,CPU&GPU=12.32ms,LCnt=2(DR72,LM2),GPU%=0.59,CPU%=0.42(W0.57),DSF=1.00,CFL=14.95/20.55,ICFLp95=18.89,LD=0,SF=1.27,LP=0,DVFS=0
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] Runtime aborting...
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] Dumping all threads without mutator lock held
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] All threads:
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] DALVIK THREADS (26):
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] "Thread-2" prio=5 tid=20 Runnable
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | group="" sCount=0 ucsCount=0 flags=0 obj=0x13200678 self=0xb40000731a72ac00
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | sysTid=26687 nice=0 cgrp=top-app sched=0/0 handle=0x72b1c27970
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | state=R schedstat=( 3734763302 199781158 6665 ) utm=309 stm=63 core=4 HZ=100
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | stack=0x72b1b30000-0x72b1b32000 stackSize=990KB
2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | held mutexes= "abort lock" "mutator lock"(shared held)
and so on. can't post everything due to char limit.
Thanks
1 Reply
Replies have been turned off for this discussion
- Florian.BRINKProtege
Hey, I'm facing the same issue. Did you end up figuring it out? I'd very much appreciate your help! Thanks
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago