Push to ML2 using Remote Rendering after game started

I love Remote Rendering. Working in Unreal Engine 5.4.4 and developing an application for windows to host...is there a way to start in "desktop mode" and then when ready push to the headset? Typically I would use "Enable HMD" but that doesn't seem to work in this instance.

Hello,

Welcome to the forums! Glad ML remote rendering is working well for you! What is the behavior that you'd like to implement?

I you want to build an application that supports both XR and desktop controls, then I believe that should be achievable using the EnableHMD blueprint function. This blueprint script works for me to toggle streaming to the hmd in the editor vr preview mode when the H key is pressed- (HmdEnabled is a boolean variable that stores the last value that was set)

A more sophisticated script could perhaps toggle between different player pawn implementations and possess one or the other depending on the current state (in addition to calling EnableHMD)

If you just want a quick way to deploy and run your app natively on your ML2 from the UE editor, then you can use use the quick launch feature for that. (there were previously issues deploying to ML2 via quick launch but it should work with recent versions of UE5, please let us know if this is what you were trying to do and encounter issues) With your ML2 connected to your PC via adb, you should see Magic Leap 2 as a deployment option on the quick launch menu in the editor-

Best,
Adam