Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
2
Found in
2020.2.0a19
2020.2.0b15
2021.1
2021.2
Issue ID
1301363
Regression
Yes
PhraseRecognizer throws an Assertion failed error when executing KeywordRecognizer.Start() three times
Reproduction steps:
1. Download and open the attached project "PhraseRecognizerBug.zip"
2. Open the Sample scene
3. Enter and exit the Play mode three times
Expected result: No errors are thrown in the Console
Actual result: Assertion failed error is thrown in the Console
Reproducible with: 2020.2.0a19, 2020.2.2f1, 2021.1.0b3, 2021.2.0a2
Not reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.2.0a18
Error message:
Assertion failed on expression: 'NULL == handler->m_Next'
UnityEngine.Windows.Speech.PhraseRecognizer:Start ()
NewBehaviourScript:Start () (at Assets/NewBehaviourScript.cs:15)
Comments (2)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
runette_unity
Apr 15, 2021 18:43
I am getting this error message every time I Start KeyworkRecodgnizer - on 2020.3
ecreators
Feb 01, 2021 14:27
After retry, mostly it works as usal. It's a pointer check that fails. But try catch around "Start" call will not be caught.