c# - 团结 : Speech Recognition is not supported on this machine

标签 c# unity-game-engine voice-recognition hololens

我的 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/

相关文章:

c# - Unity的Mesh.CombineMeshes()似乎删除了顶点信息

javascript - recorder.js 到节点到 azure 说话者识别

c# - Asp.net MVC Controller 接受值或 null

c# - 我应该在输入字段中对值进行 html 编码吗?

java - 如何使用 Unity 2017 更改为 64 位?

android - 在 Unity3D 中构建后如何使 IBM Watson VR Speech Sandbox 在 Android 上运行

java - 如何在android中制作热词检测服务

c# - 以编程方式授权给 tfs 的错误

c# - 为什么 WPF 在我的案例中不选择正确的 DataTemplate?

unity-game-engine - 如何将一个对象粘到另一个对象上并返回到 Unity 中的起点