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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.