Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Dictation Recognizer does not recognize words

Discussion in 'Scripting' started by Weightless, Jan 17, 2022.

  1. Weightless

    Weightless

    Joined:
    Sep 7, 2017
    Posts:
    15
    The problem: I am using the example for dictation recognizer provided by unity: https://docs.unity3d.com/ScriptReference/Windows.Speech.DictationRecognizer.html , but the hypothesis and result callbacks are not returning anything.

    This is especially weird because it was working just fine a month or so ago, and that the keyword recognizer works just fine. Another thing is that if I specify a SilenceTimeout for 1 second but I keep talking into the microphone while the Dictation Recognizer is running, the recognizer does not stop even though it is not picking up any words in the aforementioned callbacks. This leads me to believe that the recognizer is working to some extent.

    What I have tried to fix this so far:
    • Enable Microphone and InternetClient capabilities in project preferences.

    • Disable and re-eanble Cortana.

    • Ensured that my microphone is recognized by Unity using Microphone.devices

    • Setting the Windows display language to English (US)
     
  2. Weightless

    Weightless

    Joined:
    Sep 7, 2017
    Posts:
    15
    The issues seemed to have solved itself, I assume the were some issues on the server side with the Dictation Recognizer.
     
  3. gautam_rangan

    gautam_rangan

    Joined:
    Sep 4, 2015
    Posts:
    4
    Hi Weightless, I have been experiencing your exact same symptoms for the past week. Any ideas how I might fix it besides wait? I tried updating to Windows 11, but no luck. Has anyone else experienced this?

    Thanks,
    Gautam