1. Home
  2. Knowledge Base
  3. Unity
  4. Why I Am Getting A StartAsync Error Running My App That Uses Windows.Speech? (Unity)

Why I Am Getting A StartAsync Error Running My App That Uses Windows.Speech? (Unity)

Symptoms
  • I am testing out the Windows.Speech APIs and I am getting an error.
  • The code is similar to the DictationRecognizer and the following error shows up on Start():

    ERROR: StartAsync on the continuous recognition session failed unexpectedly! [Operation has failed with error 0x80045509: (null)]

Cause
The policy for the Speech system needs to be changed to allow the system access this feature.
Resolution
Go to System Settings -> Privacy and select on the left panel the option “Speech, inking & typing“.
Change the policy option to enable the speech feature.
Restart Unity and run your game using the Speech feature correctly.

Was this article helpful?

Related Articles