Why I Am Getting A StartAsync Error Running My App That Uses Windows.Speech? (Unity)
- 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)]
The policy for the Speech system needs to be changed to allow the system access this feature.
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.