Hello!
I am developing an AR app (not using Unity) on a Magic Leap 2. I would like to be able to cast what my Magic Leap displays to an external monitor. I have tried Miracast using the recommended wireless adapters (I am currently using the Microsoft one), but every time I try to enter any kind of AR app, the headset quits the app immediately. My headset is updated to the latest version, so I’m not sure what could be causing issues.
I have seen that Magic Leap Spectator is available, however, I am unsure how to use it as my app was not developed with Unity and therefore does not have the required packages. Is there any other alternative I can use?
I would greatly appreciate any help anyone can provide, thank you!
What was your app developed in ? Also I assume that your app does not crash when it’s not casting? Are you using the OpenXR APIs? Have you tried using the device stream feature on the ML Hub ?
The app was developed with C++. No, it does not crash when it’s not casting, but it does even when I try the device stream feature in the ML Hub. It seems like any form of casting crashes the app. Initially I thought this was due to the app itself, but given that even the default apps that come with the headset do not cast I am not sure what could be going wrong. If it helps, I did also enable developer mode on the headset but still have not had any luck.
Double check to see if you are enabling the secondary view extension. Unfortunately, since this is not reproduceable in the Magic Leap Samples provided on the Magic Leap hub my best recommendation would be to read the logs and see if there is anything that hints at why the application crashes.