downloaded project with Vosk (Speech recognition system) implementation, and every project that i try crashes, and in one project i found that error
DllNotFoundException: libvosk assembly: type: member:(null) Vosk.Vosk.SetLogLevel (System.Int32 level) (at :0) VoskSpeechToText+d__30.MoveNext () (at <51d31056a8e1447b80dc54febfe062d4>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0) i know it says dll not found but i know project has that dll and idk what i need to do to fix that issue
Im try to download few another project but they all has the same problem
-
Find the dll in your project and make sure it is enabled in the inspector for the platforms it supports.Retired Ninja– Retired Ninja2024年02月15日 19:46:11 +00:00Commented Feb 15, 2024 at 19:46
-
How i can do that?)NeTBoy– NeTBoy2024年02月17日 10:34:24 +00:00Commented Feb 17, 2024 at 10:34
-
You select the DLL in your project and look at the settings in the inspector. docs.unity3d.com/Manual/PluginInspector.htmlRetired Ninja– Retired Ninja2024年02月17日 10:36:59 +00:00Commented Feb 17, 2024 at 10:36
-
I enabled it and got another error DllNotFoundException: libvosk assembly:<unknown assembly> type:<unknown type> member:(null) Vosk.Model..ctor (System.String model_path) (at Assets/ThirdParty/Vosk/Model.cs:32) VoskSpeechToText+<DoStartVoskStt>d__24.MoveNext () (at Assets/Scripts/VoskSpeechToText.cs:138) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <5879d8d225474494bcffdfe64965038e>:0)NeTBoy– NeTBoy2024年02月17日 10:41:32 +00:00Commented Feb 17, 2024 at 10:41
-
I try to enable platforms in dll again and project still crashes. May be we can go on discord, if its not difficult for youNeTBoy– NeTBoy2024年02月17日 11:00:13 +00:00Commented Feb 17, 2024 at 11:00