我的 Unity 项目有问题。更具体的是 HoloLens 应用程序。 我添加了混合现实工具包中的关键字识别以实现统一。到目前为止,一切都运行良好。今天我必须重置我的笔记本电脑并安装所有新内容。重置后一切正常,但在激活我的 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 家庭版和 Windows 10 教育版笔记本电脑上的可启动 USB 棒进行了测试),语音识别仍然有效。 有人知道如何解决这个错误吗?
编辑:仍然有这个问题。有人找到这个问题的新解决方案吗?
最佳答案
环顾四周[ 1 , 2 , 3 ] 我发现了几个可能的原因:
- 检查 Unity 项目中是否启用了麦克风(编辑 -> 项目设置 -> 播放器)并重建
- 如果您更新到某些新的 Windows 版本,请检查这是否会破坏 Cortana 和语音服务。当用户更新到 Windows 10 Creators 并重新启用 Cortana 成功时,会发生此错误
- 将英语(美国)设置为主要语言。它将在 Windows 10 中安装一些额外的语音识别部分
PS 也 - 用于调试目的 - 按照建议 here请检查是否正确检测到麦克风,使用此 Unity snippet 检查麦克风列表
关于c# - 团结 : Speech Recognition is not supported on this machine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50557020/