Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.4f1
2020.2
Issue ID
1227088
Regression
No
[Windows] Timeout is not triggered when DictationRecognizer stops recognizing words
Reproduction steps:
1. Open the attached project ("DictationError.zip")
2. Open the repro scene ("SampleScene")
3. Point your microphone at a speaker that's playing audio of someone speaking, like a podcast
4. Enter Play Mode
5. Let the dication go for a few minutes
6. Inspect the Console Logs afterward
Expected result: Longest time since last recognition is under 2-3 seconds
Actual result: Longest time since last recognition goes up to 30s and more; in those intervals, speech is happening, but not being dictated
Reproducible with: 2018.4.25f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
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
- The Capacity field in the “Particle System Info“ is not updated when changing the Visual Effects Graph is not saved
- [VFXG] Setting an exposed texture to none assigns a random texture
- Rigidbody2D with interpolation position breaks when rotation is set and Time.timeScale is adjusted
- Non-bold Japanese characters become bolder when the first button has those characters in bold in a custom window rootVisualElement
- The window divider between the Project and Animator windows does not move when trying to drag it from the Animator window side
Resolution Note (2020.2.X):
The 30 second delay is coming from the Windows SpeechContinuousRecognition API (https://docs.microsoft.com/en-us/uwp/api/Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession?view=winrt-19041) and therefore is a Microsoft bug which we can't fix.
Unlike KeywordRecognizer, this API uses a web service to process Speech-to-Text in the "Cloud", and it appears the Microsoft server sometimes doesn't respond appropriately. The best work around is to implement your own timeout: if there's no response during a dictation session after ~10 seconds, then call Stop() on the session and then Start() to being a new session.