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
-
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
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
- [Settings Search] Search results not always matching search term correctly
- Crash on memcpy when opening a project that loads TSS files
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.