Search Issue Tracker
Won't Fix
Votes
3
Found in
2019.4
2019.4.9f1
2021.1
Issue ID
1276443
Regression
No
[HoloLens] Voice commands stop working after App minimize/restore
How to reproduce:
1. Open the attached "KeywordRecognizerBug.zip" project
2. Build the project to UWP
3. Deploy it to HL2 with Release and ARM64 settings
4. When the App is open say "test voice commands" -> see the output
5. Minimize the App -> say "test voice commands" again (if the output still appears - turn off and on the App again and start from the 4th step)
Expected result: Voice commands remain active
Actual result: Voice commands stop working
Reproducible with: 2019.4.16f1, 2020.1.17f1, 2020.2.0b14, 2021.1.0a9
Notes:
- The issue also occurs on HL1
- The issue did not occur on Debug Configuration
- Could not reproduce on 2018.4, because of project being broken
Comments (1)
-
jvnetcetera
Feb 05, 2021 09:36
After the voice commands stopped working, I was able to re-activate them by executing the following methods:
PhraseRecognitionSystem.Shutdown();
PhraseRecognitionSystem.Restart();
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (2021.2.X):
This issue appears to be Windows API or OS bug as we're able to repro the problem using the Microsoft Speech Recognition samples:
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/SpeechRecognitionAndSynthesis.
To work around the problem, the Speech Recognition objects (KeywordRecognizer, DictationRecognizer, etc.) should be re-initialized and restarted after the app is restored.