Unity:此机器不支持语音识别

时间:2018-05-27 22:18:31

标签: c# unity3d voice-recognition hololens

我对Unity项目有疑问。更具体的HoloLens应用程序。 我已经从MixedReality-Toolkit添加了关键字识别以实现统一。到现在为止一切正常。今天我不得不重置我的笔记本电脑并安装新的一切。重置后一切正常,但在激活我的Windows 10 - 教育许可证以启用Hyper-V后,我现在得到以下错误消息:

UnityException: Speech recognition is not supported on this machine.
UnityEngine.Windows.Speech.PhraseRecognizer.CreateFromKeywords (System.String[] keywords, UnityEngine.Windows.Speech.ConfidenceLevel minimumConfidence) (at C:/buildslave/unity/build/artifacts/generated/Metro/runtime/SpeechBindings.gen.cs:47)
UnityEngine.Windows.Speech.KeywordRecognizer..ctor (System.String[] keywords, UnityEngine.Windows.Speech.ConfidenceLevel minimumConfidence) (at C:/buildslave/unity/build/Runtime/Export/Windows/Speech.cs:221)
MixedRealityToolkit.InputModule.InputSources.SpeechInputSource.Start () (at Assets/HoloToolkit/InputModule/Scripts/InputSources/SpeechInputSource.cs:72)

在其他设备上(我已经使用Windows 10 Home测试它和使用Windows 10 Educational的笔记本电脑上的可启动USB-Stick)语音识别仍然有效。 有人知道如何解决这个错误吗?

修改:还有这个问题。有人为这个问题找到了新的解决方案吗?

3 个答案:

答案 0 :(得分:2)

浏览[123]我发现了几个可能的原因:

  • 检查Unity项目中是否启用了麦克风(编辑 - >项目设置 - >播放器)并重建
  • 如果你更新到一些新的Windows版本检查是否打破了Cortana&语音服务。当用户更新到Windows 10 Creators并重新启用Cortana时,会发生此错误
  • 将英语(美国)设为主要语言。它将在Windows 10中安装一些额外的语音识别部分

PS也 - 出于调试目的 - 按照建议here,请检查是否正确检测到麦克风,并使用此Unity snippet

检查麦克风列表

答案 1 :(得分:2)

我很确定您的问题是Windows 10教育版。由于某些原因,我认为它仅适用于Win Home或Pro。我以为Win 10 Educational简单版不支持语音识别。实际上,我似乎找不到它,但是,我很确定有设置文档,说明您需要Windows 10 Home或Pro,因为它具有Education所没有的某些功能。

答案 2 :(得分:1)

确保在“隐私/语音,上墨和打字”菜单中启用了Get to know me。请参阅此进一步的建议here