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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
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.