Skip to main content
mousebear
Honored Contributor
Nov 2, 2021 12:28 AM UTC

Voice SDK - Wit.ai General Questions Thread

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
    Mar 28, 2024 12:07 PM UTC

    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 5:46 PM UTC

    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
    Apr 10, 2024 4:30 PM UTC

    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
    Jul 5, 2024 1:04 PM UTC

    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
    Jul 31, 2024 5:23 AM UTC

    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
    Sep 9, 2024 2:45 PM UTC

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

    Inspiring
    Sep 24, 2024 10:17 PM UTC

    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
    Nov 8, 2024 2:57 PM UTC

    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
    Apr 8, 2025 3:17 PM UTC

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

    RiverExplorer
    Honored Contributor
    Apr 8, 2025 4:44 PM UTC

    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