Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity Support for the Magic Leap 2 #1707

Open
JonelleEsprit opened this issue Feb 14, 2025 · 3 comments
Open

Unity Support for the Magic Leap 2 #1707

JonelleEsprit opened this issue Feb 14, 2025 · 3 comments

Comments

@JonelleEsprit
Copy link

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: #691

@nshmyrev
Copy link
Collaborator

You have to build dynamic library for MagicLeap. Since we do not have corresponding SDK and hardware for testing we will not be able to build ourselves.

@nshmyrev
Copy link
Collaborator

@JonelleEsprit
Copy link
Author

Hi, thank you for your response, though I'm a bit confused. I thought that the Android .so file should work for Magic Leap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants