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

Demo Hand interaction MRTK2.5.1 deployment error #9031

Closed BrianaBarker closed 9 months ago

BrianaBarker commented 3 years ago

Describe the bug

Each time I try to build the hololens2 hand interaction demo scene, it builds and compiles in the visual studio editor but then when I try to debug/deploy it throws this error and complains about the two pdb files not being able to be loaded. At that point you can not move forward and you must click stop. It has still deployed in the headset so upon a restart you will be able to open the app. However for debugging purposes, this is not helpful. (MRTK 2.5.1)

To reproduce

Steps to reproduce the behavior:

  1. New project in Unity versions 2019.4.13f, 2019.4.15f and 2019.4.16f
  2. Open and build the hand interaction demo scene with preset build settings
  3. Open the solution in Visual Studio(2019 enterprise edition)
  4. Set to Debug on the device (hololens2) and then click the play button
  5. Debugger cannot find pdb files and throws an error
  6. Click stop
  7. Reopen the newly deployed app on the device which works

Expected behavior

Build to the device in such a way that debugging is possible

Screenshots

MicrosoftTeams-image

Your setup (please complete the following information)

Target platform (please complete the following information)

Additional context

Add any other context about the problem here.

keveleigh commented 3 years ago

Ah yeah, this sounds like a known issue in Unity (@JBrentJ?) we've been running into with UWP. Are you able to debug using a Release build? I've tended to be able to do just about everything I need to do by debugging Release builds instead of Debug builds.

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 visit https://www.mixedrealitytoolkit.org.

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