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
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
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.