alphacep / alphacep/vosk-api

Unity Support for the Magic Leap 2

Open
#1,707 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm attempting to use vosk for a project on my Magic Leap 2. When I run my project on my device it works fine but when I built it to the ML I get the following error:

2025/02/14 12:00:22.198 784 807 Error Unity DllNotFoundException: Unable to load DLL 'libvosk'. Tried the load the following dynamic libraries: Unable to load dynamic library 'libvosk' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "libvosk" not found
2025/02/14 12:00:22.198 784 807 Error Unity at Vosk.VoskPINVOKE.new_Model (System.String jarg1) [0x00000] in <00000000000000000000000000000000>:0
2025/02/14 12:00:22.198 784 807 Error Unity at Vosk.Model..ctor (System.String model_path) [0x00000] in <00000000000000000000000000000000>:0
2025/02/14 12:00:22.198 784 807 Error Unity at SpeechToTextManager+d__25.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
2025/02/14 12:00:22.198 784 807 Error Unity at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
2025/02/14 12:00:22.198 784 807 Error Unity

I've looked at this previously raised issue but nothing has been of any help: https://github.com/alphacep/vosk-api/issues/691

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.