Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
yutoVR's avatar
yutoVR
Protege
2 years ago
Solved

Voice SDK Dictation Not Working in Unity 2023.2+

I upgraded my project to Unity 6 from Unity 2022 LTS. Here's my current setup:

  • Unity 6000.0.27f1
  • Meta XR Core SDK 69.0.1
  • Meta XR Interaction SDK Essentials 69.0.1
  • Meta XR Voice SDK 69.0.0

With this setup, the Core SDK requires the use of GameActivity, but the Voice SDK's dictation functionality requires Activity. As a result, dictation cannot be executed on Unity 2023.2+.

This is an error on Quest 3.

Is this a known issue? Or is there a possible workaround?

 

Here’s a related information for reference:

https://communityforums.atmeta.com/t5/Unity-Development/Important-Unity-6-information/td-p/1252153

https://discussions.unity.com/t/voice-sdk-crash-on-activate-meta-quest-3/935246

9 Replies

Replies have been turned off for this discussion
  • yolan's avatar
    yolan
    Retired Support

    Do you have platform integration turned on in your dictation config? Turning that off if it is on might workaround this.

    • yutoVR's avatar
      yutoVR
      Protege

      Thank you for your advice and sorry for a late reply.

      Are you referring to this setting? It was turned off in my environment, and unfortunately, the issue persists.

       

  • Here’s some additional information:

    I deleted Library folder and updated Mirror Networking to v93.0.1 which supports Unity 6. After that, dictation works in the Editor but not in the build.

    In the build, AppDictationExperience.DictationEvents.OnError is invoked with the message "Dictation unavailable".

    • yutoVR's avatar
      yutoVR
      Protege

      Not yet, unfortunately. I believe this is an SDK issue, so I'm waiting for an update.

  • I am getting the same thing: error at build, but working in editor.  I also am using the same config known to be working in Unity 2022.3.33f, yutoVR is correct, this is likely an SDK issue 😕

  • Any update on this? I also faced the same issue. I use the latest version of the Meta All-in-One SDK.

    • Unity 6000.0.39f1
    • All Meta XR SDKs = 72.0.0
    • Meta XR Voice SDK = 71.0.0

    They have not pushed any updates on Voice SDK since then. There is no issue on the Editor. I tested dictation and voice experience. Neither worked on the headset build. I added the events manually via the inspector to the voice and dictation experience. But since it is buggy, I also wanted to test adding the events via a script. It also worked on the editor. But neither worked on the headset. I believe an SDK update will fix it. And yes, I went through every forum and discussion board I found online. I tried their suggestions: Internet access is required, etc. None of them worked. And I found that I am not the only person here. Meta, please push an update to resolve this issue. Found another topic related to this issue as well:
    https://communityforums.atmeta.com/t5/Unity-Development/Wit-ai-stops-working-when-application-is-built-to-headset/td-p/1290844

    [Edit]: I downgraded the project to v2022.3.59f1: I simply created a new project on Unity Hub. I installed the Meta XR All-in-One SDK via the package manager and XR plugin as well. Then, I fixed the issues with the build tool. Then, I copied my v6000 assets folder to the new project's assets folder. I built and deployed. It worked. So, the issue only occurs on Unity 6: https://github.com/wit-ai/wit-unity/issues/96#issuecomment-2565952107.

  • Anonymous's avatar
    Anonymous

    Hello everyone! I just wanted to update you all to let you know that version 74.0 of the Meta XR Voice SDK is now available for download in the Meta Quest Developer Hub, including a fix that should address this issue. The All-In-One SDK download also has the updated version available.

    I encourage you to update to v74 and let me know if this resolves the issue. If it still exists, please post in this thread so that I can report back!

    Links:

    • berkc's avatar
      berkc
      Explorer

      Hi Anonymous,

      Thank you for letting us know. I can confirm that it works. I upgraded the project to Unity v6000.0.42.f1 with Meta SDKs v74.0. Now, the voice SDK works on the headset as well.