microsoft / OpenXR-Unity-MixedReality-Samples

Sample Unity projects to demo how to use OpenXR plugin in Unity for HoloLens 2 and Mixed Reality headsets
MIT License
250 stars 71 forks source link

Holographic Remoting Instantly Disconnects #65

Closed IanMcAtee closed 2 years ago

IanMcAtee commented 2 years ago

Hi guys, I'm having issues with the holographic remoting aspect of the basic sample app.

ISSUE: Upon attempting to connect the HAR player app and the remote app on PC, the HAR player app will display connecting for a few seconds, but then disconnect. On the remote app, it will begin connecting for a second and I can see the basic sample menu appear for a moment, but then immediately disconnects yielding a disconnect message of "Disconnected to XX.XXX.XX. Reason is None".

EXPECTED BEHAVIOR: Upon clicking connect in the remote app with the HAR player in "listen" mode or upon launching the HAR player in "connect" mode with the remote app in "listen" mode, the basic sample app should begin streaming on the HoloLens.

HARDWARE, SOFTWARE, AND SETTINGS USED: Hardware:

Software:

Unity Settings:

SOLUTIONS ATTEMPTED:

SIMILAR REMOTING ISSUE: I've encountered a similar issue while attempting to use the holographic remoting for play mode in Unity. While attempting to do this, the HAR app also displays connecting for a second, then immediately disconnects and the scene begins playing in Unity game view as normal. Details of that issue can be found in the comment in my name (posted two days ago) in the following issue: https://github.com/microsoft/MixedReality-HolographicRemoting-Samples/issues/50

Thanks for all your help and any information you could provide regarding this issue would be greatly appreciated.

-Ian

yl-msft commented 2 years ago

@IanMcAtee , i saw the above screenshot you you reported on the HolographicRemoting-Samples repo were using "Mixed Reality OpenXR plugin" version 1.0.2 which is a bit old. But on this report you showed a different screenshot with version 1.3.1. I just want to double check that you did upgrade to the latest MR openxr plugin 1.3.1 and still see the similar problems.

I have another question. Instead of using Unity, have you tried the remote app built in C++ using the sample repo on GitHub? https://github.com/microsoft/MixedReality-HolographicRemoting-Samples/tree/main/remote

Get a result using these C++ sample apps can give us an indication which layer might need next level of investigation. Thanks!

IanMcAtee commented 2 years ago

Solved @yl-msft Thank you for the response, turns out all I had to do was update my graphics drivers. It's always something that simple...