- Home /
Speech recognition is not supported on this machine.
Hi, I am using a windows 8.1 operating system and trying to run :
m_Recognizer = new KeywordRecognizer(keywords.Keys.ToArray());
m_Recognizer.OnPhraseRecognized += recogniserOnPhraseRecognized;
with UNity 2017 2.0f3. I get the following error:
Speech recognition is not supported on this machine.
UnityEngine.Windows.Speech.PhraseRecognizer.CreateFromKeywords (System.String[] keywords, ConfidenceLevel minimumConfidence) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/SpeechBindings.gen.cs:47)
UnityEngine.Windows.Speech.KeywordRecognizer..ctor (System.String[] keywords, ConfidenceLevel minimumConfidence) (at C:/buildslave/unity/build/Runtime/Export/Windows/Speech.cs:221)
Does the phrase recognizer run only for windows 10? DO I need to update my machine? Or did anyone do this for windows 64 bit 8.1 OS?
I'm almost positive you need the library, did you include it into your project?
**The only time I used speech recognition was when I rolled my own for Windows,
I included these:
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Windows.Speech; using System.Linq;
In my case it was an issue with the latest Windows update breaking Cortana & Speech services. Details on a fix at the link: But I'm adding the isSupported check in any case. Thanks!
https://aka.ms/$$anonymous$$syux5 Issue: After upgrading from Build 16299.0 to 16299.15, you might lose all previously installed Feature-on-Demand (FOD) packages such as Windows $$anonymous$$edia Player, language features, etc. during the upgrade. If you upgraded to Build 16299.15 from an older build such as Build 16296 – you are not impacted.
Answer by Bunny83 · Oct 28, 2017 at 04:04 AM
According to the documentation:
Keyword recognizer is currently functional only on Windows 10.
Thank you. It works for me when I updated to windows 10. This is so cool.