Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.31f1
2020.3
2021.2
2022.1
2022.2
Issue ID
1404122
Regression
No
Speech recognition stops working when Editor loses focus
Reproduction steps:
1. Open "VoiceRecognition.zip" project
2. Open VoiceRecognition.scene and enter Play Mode
3. Try saying "Harness" to the microphone (you might need to repeat that a few times)
4. Observe the text "Awaiting Text" change to the aforementioned word
5. Click outside Unity
6. Try saying "Harness" again and observe the "Awaiting Text"
Expected result: "Awaiting Text" changes to "Harness" after saying the word when the Editor is in or out of focus
Actual result: "Awaiting Text" does not change to "Harness" after saying it when the Editor is not in focus
Reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.18f1, 2022.1.0b14, 2022.2.0a9
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Resolution Note:
Even though APIs for Dictation/Speech can technically be used in the Editor (on Windows), they weren’t designed for this use case. This lose of focus issue/behavior comes from Windows and not Unity.