Skip to main content
mousebear
Honored Contributor
November 2, 2021

Voice SDK - Wit.ai General Questions Thread

  • November 2, 2021
  • 22 replies
  • 18709 views

Do you have any general questions regarding the wit.ai framework within the Voice SDK? Drop your questions, concerns, and feedback here!

    22 replies

    Up and Coming
    March 28, 2024

    I am trying to understand the dictation SDK, but when I build and run the Dictation Sample scene it gives the following build error:

    An asset is marked with HideFlags.DontSave but is included in the build:
    Asset: 'Packages/com.meta.xr.sdk.voice/Lib/Wit.ai/Resources/witai.png'
    Asset name: witai
    (You are probably referencing internal Unity data in your build.)
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

    What is going wrong here? Is this a bug in the wit.ai package?

    SirLuicelot
    Participant
    May 14, 2024

    Normally what it fixes for me is restart the editor fresh and build but no build and run, then build and run after you build, weird behavior but it works... for some reason...

    Inspiring
    April 10, 2024

    I am using unity and the Wit.ai TTS. I have it working, but I can't figure out how to change the voice via script. I can change it manually but I need to be able to select a voice at run time.

    Thanks Jc

    New Participant
    July 5, 2024

    Hi There, Did you get any solution for offline-support in voice sdk as I have implemented VoiceSDK TTS but its working online and in the docs they say by using Preloading TTS Files can use it offline but theres no implementation for Preloading TTS Files on internet , I searched everywhere how to implement the offline Preloading TTS as per docs..

    Inspiring
    July 31, 2024

    Hi,

    Has anyone encountered "[VSDK ERROR] [TTSWit] Web Stream Error" after calling TTSSpeaker.Speak() for strings of a certain size? 

    Around ~200 characters or so, it begins giving this error. Shorter strings are working as expected. 

    Was wondering if this is by design, and/or ways to mitigate this, because it seems like a pretty low cut-off point. Thanks!

    Up and Coming
    September 9, 2024

    We are getting the exact same issue, wondering on this as well.

    Inspiring
    September 24, 2024

    I learned there's a limit on length of dictation string. It seems to be around 200-250 characters. My solution is to break up the text, then use a method in Voice SDK to queue up multiple dictations. That method is TTSSpeaker.SpeakQueued(); 

    The major downside here is splitting the dictation clips causes the voice to sound unnatural at the transition, since it doesn't know one clip is a continuation of the other. 

    Up and Coming
    November 8, 2024

    Anyone found documentation on the voice "styles"? The only thing I find is the following https://developers.meta.com/horizon/documentation/unity/voice-sdk-tts-voice-customization/ and it mentions not every voice has every style but no options, or a list of styles...

    P.S: Found it https://wit.ai/docs/http/20240304/#get__voices_link

    New Participant
    April 8, 2025

    Hi Shivam,
    I am experiencing the same.
    Have you already found a solution?

    RiverExplorer
    Honored Contributor
    April 8, 2025

    Meta removed style and never updated their documentation.

    If you want to do style, you have to do the HTTP wit calls yourself.

    https://wit.ai/docs/http/20240304/#get__voices_voice_link

    RiverExplorer.US]@gmail.com https://RiverExplorer.games