microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

"DirectoryNotFoundException" error is generated when attempting to start a Holohraphic Remoting session #9878

Closed elbuhofantasma closed 9 months ago

elbuhofantasma commented 3 years ago

Describe the bug

In Unity 2019.4.x when the user attempts to initiate a Holographic Remoting session on XR SDK, the session fails to start and generates 2 errors in the Unity Console.

To reproduce

Steps to reproduce the behavior:

  1. Create a new Unity 2019 project
  2. Import the MRTK with the UPM or .unitypackages and configure for XR SDK
  3. Open an example scene
  4. Set up the project for Holographic Remoting
  5. Open the Holographic Remoting app on HoloLens 2
  6. Attempt to initiate the Holographic Remoting session
  7. See error in Unity Console

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Your setup (please complete the following information)

Target platform (please complete the following information)

Additional context

This issue occurs with .unitypackages and UPM packages.

There is no UserSettings folder created in the Unity project folder when configuring the WMR XR plugin for Holographic Remoting. This folder only seems to appear in Unity 2020 projects.

keveleigh commented 3 years ago

This is a bug on the Unity package side. I've proposed a fix for it, and it should be released in a future package. Updating the tags as this isn't an MRTK issue.

MaxWang-MS commented 3 years ago

@keveleigh Could you please provide an update here?

keveleigh commented 3 years ago

There should be some updates to XR Management and Windows XR Plugin releasing soon with the fixes for this! Will update when they're public.

keveleigh commented 3 years ago

Actually! This may have been a WinXR 2.7.0-only issue. Can you try updating to Windows XR Plugin 2.8.0?

stale[bot] commented 2 years ago

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!