Closed ARGs-code closed 8 months ago
Ran into a similar issue with MRTK3 basic projects.
Issue appears to be that these projects are using an old version of the Unity Input System and are targetting .net 2.1
To fix this I had to update the Unity Input System and change the .net from 2.1 to .net framework. Neither of these steps are detailed in the documentation.
Closing this as I figured it out. But still frustrating that following the documentation leads to crashes.
Glad you got it figured out. I'll see about getting the documentation updated.
I downloaded the Completed Hololens 2 Sample App from this Repo. I used the Mixed Reality Features tool to restore all features in the project per the instructions. Loaded the application into the Unity Editor targetting UWP Platform. Unity 2021.3.31f1.
On Loading into the Unity Editor see the following errors:
Despite these errors everything works as expected in the Unity Editor. No issues or errors on run.
Built the application to a Visual Studio Solution, targetted ARM64/Release and deployed to my Hololens 2.
On Launching the application it crashes back to the Mixed Reality Shell Environment.
The Unity Log states the following issues before ending abruptly due to the crash:
Have not touched / changed anything in the project. Only completed the steps as described above.
Unity Log Attached for reference
WebViewSampleLog.log