ML Spectator App (in android phone) fail to connect with Spectator Unity App in ML2

I have developed and run the Spectator Unity App and deployed it to ML2 device.

At the same time, I have run the ML Spectator app on my Android phone. Both phone and ML2 are connected to the same wifi. At the ML Spectator app on my phone, I can see the IP address of the ML_Spectator Unity app, but when I try to connect to that IP, it failed

Hey @ahmad27 ,

Just so I’m understanding correctly, you made a Unity project that is trying to use the ML Spectator feature and are now having issues connecting the spectator phone app to your Unity app?

Best,
Corey

Hi Corey,

Thanks for your response. Yup, your understanding is correct. In phone I’m using magic leap spectator app, and i able to find the IP address of the Unity Spectator App in the Magic Leap 2 device, but it couldn’t connect. After I go through again the step provided in Magic Leap Developer docs, How to Install the Magic Leap Spectator Unity Package | MagicLeap Developer Documentation , I manage to stream the holographic image from my phone

Hi @ahmad27

Thank you for the clarification. Can you share with us what OS version you’re using and what version of the Spectator App you have installed? Where specifically are you getting stuck in the setup process or are you able to complete it, just without being able to finish the connection?

Thank you,

I’m using Android phone and the spectator app version is 1.3.9. Initially I can find the Unity app IP address, but couldn’t connect to it. then i re-do again starting package installation for ML Spectator Unity Package to add the ML Spectator plugin to my project and build, then i can connect the Spectator App to the Unity app and stream the view

Alright, that looks like it’s working now. Do I understand correctly that re-installing the ML Spectator Unity Package resolved the issue for you now or are there still some unresolved issues?

Yup, it’s working fine, but my spectator app view of a 3D object isn’t as good as what I see in Magic Leap’s built-in App (Model Viewer). I mean, in terms of UI interaction, when I grab the object (using the controller button) only able to grab from one side (and when I grab the object always come closer), and I can’t resize the 3d object

Can you possibly record a video to show me what you’re seeing? It sounds like you’re having issues with the Spectator app view not looking as good as the ML2 Spectator view as well as an issue with UI interaction in the ML2 headset? Am I understanding that correctly?

Hi @jspire

Refer to the vid. In the Spectator Unity app, when I want to grab the 3d model, it always grabs from one side (behind), I can’t grab the object from the front, left, or right. Also, when I grab just to move the 3d object, it always comes closer to me. In the Unity SW, I already defined the Box Collider

SpectatorApp.zip (24.3 MB)