Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[assistant] Runnable/RESTConnector error at runtime when building for Lumin OS (Magic Leap) #553
Hi! I'm trying to test a few Watson services (mainly Speech-To-Text and Assistant) on a Magic Leap One device, but I encounter a strange error when trying to connect to these at runtime. (This issue focuses on the minimum reproducible steps to connect to the Assistant service, as the same seems to happen for Speech-To-Text.)
Steps to reproduce
Here's what I'm using:
I'm using v2.15.4 because a library I intend to use with this SDK currently works with this version.
My scene is set up with a GameObject, and the following Logic.cs attached, which was modeled after the "Supplying the IAM API key" example in the v2.15.4 README.md
In play mode, I see my success debug message "Found # workspaces" in the editor console. I expect to see the same in the device logs.
Instead of seeing either of my debug messages, this error shows up when the scene starts:
I'm aware that building for Lumin OS may not be supported at this time (hopefully that's not the case), and that this may be an issue caused by Magic Leap instead. This is the first time I've seen this error, and I've successfully built several Unity projects to a Magic Leap device.
Thanks for any help you can provide!
I've tested it in the simulator, and unfortunately this issue can't be reproduced as it's running in the editor environment, which works as expected. Additionally, the other projects I've built use both the .NET 4.x scripting runtime and framework, so from my experience Magic Leap seems to support them.
For now I'll be focusing on other parts of my project, and continue troubleshooting on the side or wait for a fix in the v3 releases. (I'm currently having different issues with v3 in the same environment/build target which are a bit more difficult to pinpoint/document and aren't related to this issue.)