alphacep / vosk-unity-asr

Automatic Speech Recognition in Unity using Vosk library
56 stars 16 forks source link

Fix crash after attempting load decompressed zip #2

Closed thnewlands closed 2 years ago

thnewlands commented 2 years ago

on line 245: _decompressedModelPath = e.ExtractLocation; will set the _decompressedModelPath to the persistentDataPath + "files" which is incorrect. This workaround ensures that the editor and player don't crash when trying to read the newly decompressed files.

This fixes this issue: https://github.com/alphacep/vosk-unity-asr/issues/1

nshmyrev commented 2 years ago

Amazing, thank you for debugging this issue!

thnewlands commented 2 years ago

Thank you for the plugin!