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
- Internal Package Manager window lines becomes duplicated or splits into two when window is docked
- Particle System curve editor does not remove or delete a curve when clicking the "Remove" button
- Some deprecated packages are seen in "Unity Registry"
- [Material]The emission of the materials used in scenes does not carried over correctly after upgrade project to 6000.0.44f1
- Crash on StackWalker::GetCurrentCallstack when opening a project
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.