Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Dec 17, 2018 at 10:49 AM by Mastre_Evar for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Mastre_Evar · Dec 16, 2018 at 11:12 PM · error message

"Speech recognition is not supported on this machine".

I'm trying out unity's built in speech recognition API, but I'm only getting this error message:

UnityException: Speech recognition is not supported on this machine. UnityEngine.Windows.Speech.DictationRecognizer..ctor (ConfidenceLevel minimumConfidence, DictationTopicConstraint topic) (at C:/buildslave/unity/build/Runtime/Export/Windows/Speech.cs:316) UnityEngine.Windows.Speech.DictationRecognizer..ctor () (at C:/buildslave/unity/build/Runtime/Export/Windows/Speech.cs:300) Recognizer.Start () (at Assets/Scripts/Recognizer.cs:20)

I was trying it out with unity's own sample code:

 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
 using UnityEngine.Windows.Speech;
 
 public class Recognizer : MonoBehaviour {
 
     [SerializeField]
     private Text hypotheses;
 
     [SerializeField]
     private Text recognitions;
 
     DictationRecognizer dictationRecognizer;
 
     // Use this for initialization
     void Start()
     {
         dictationRecognizer = new DictationRecognizer();
 
         dictationRecognizer.DictationResult += (text, confidence) =>
         {
             Debug.LogFormat("Dictation result: {0}", text);
             recognitions.text += text + "\n";
         };
 
         dictationRecognizer.DictationHypothesis += (text) =>
         {
             Debug.LogFormat("Dictation hypothesis: {0}", text);
             hypotheses.text += text;
         };
 
         dictationRecognizer.DictationComplete += (completionCause) =>
         {
             if (completionCause != DictationCompletionCause.Complete)
                 Debug.LogErrorFormat("Dictation completed unsuccessfully: {0}.", completionCause);
         };
 
         dictationRecognizer.DictationError += (error, hresult) =>
         {
             Debug.LogErrorFormat("Dictation error: {0}; HResult = {1}.", error, hresult);
         };
 
         dictationRecognizer.Start();
     }
     
     // Update is called once per frame
     void Update () {
         
     }
 }
 

I'm using Windows 10, I know the speech recognizer works, I've enabled it, I got the correct langugage package, I can talk with cortana etc. The problem seems to be only in unity. I read somewhere about a microphone setting in player settings under project settings, but there are no microphone settings there. I'm thankful for some help.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0

Answer by Mastre_Evar · Dec 17, 2018 at 10:49 AM

Ok, it was an issue with an older version of Unity. I had version 2018.2.15f1 installed, updated to version 2018.3.0f2 and it now works.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

98 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Windows Store [UWP] : error CS0246 0 Answers

Errors coming after putting the downloaded repository from bitbucket to Unity3d? 0 Answers

WaterBaseEditor.cs(11,17) 1 Answer

error 983 0 Answers

Help! error CS0101 : The namespace 'global::' already contains a definition for 'StatyPostaci; 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges