HoloLens 2 App is Crashing, before OpenXR Diagnostic Report

Copper Contributor

Hello Guys,

i encountered a bad problem with the Unity Version switching from 2021.3.6 to 2021.3.27.
Our App works great with the .6 version, but didnt run on .27. After deploying the App on HoloLens 2 the app starts and the four dots are visible like normal. But after view seconds it crashes and closes the app. I know that the app with version .6 starts normal and at the beginning i have to confirm the microphone message. The message also didn`t appear with version .27. I attached the debug log below.

So i am running out of solutions and don`t know what the problem is, because the log didn`t tell me something more. I have to say that the last few warnings of missing scripts etc. arent the cause of the crash. Because these warnings are also there if i use .6. Some one encountered a similiar problem and know what causes this crash?

I tried different things like downgrading OpenXR or upgrading MRTK, but this didn`t work. The reason why i tried this was that the .27 version upgradet the above mentioned package (OpenXR). Another package which i consider that this causes problems is the upgraded input system.

Thank you in advance.

Ah, also i upgraded it to 2022.3 lts because this is the target version. But the error is there before .27.

Also i found out that the error lies between version 2021.3.17 and 2021.3.27.

 

 

Logging to U:/Users/MDRAXL/AppData/Local/Packages/XXXX_qy3efhjtsfrq2/TempState/UnityPlayer.log
Loading native plugins
  Loading Microsoft.MixedReality.QR.dll
  Loading openxr_loader.dll
  Loading pdfrenderer.dll
  Loading Magick.Native-Q8-arm64.dll
Plugins: Failed to load 'C:/data/Programs/WindowsApps/XXXX_1.0.3.0_arm64__qy3efhjtsfrq2/Magick.Native-Q8-arm64.dll' because one or more of its dependencies could not be loaded.
Plugins: 2nd attempt to load module with '.dll' extension manually appended ('Magick.Native-Q8-arm64.dll.dll') also couldn't be found (or it's dependencies).
    Failed to load plugin Magick.Native-Q8-arm64
Module information:
Built with Compiler Ver '192829333'
Built from '2022.3/staging' branch
Version is '2022.3.8f1 (b5eafc012955)'
Master build
Application type 'D3D'
OS 'Windows 11 (10.0.22621) 64bit'
[Physics::Module] Initialized MultithreadedJobDispatcher with 7 workers.
[Subsystems] Discovering subsystems at path C:/data/Programs/WindowsApps/XXXX_1.0.3.0_arm64__qy3efhjtsfrq2/Data/UnitySubsystems
[Subsystems] No descriptors matched for  examples in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json.
[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json
[Subsystems] No descriptors matched for  displays in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json.
[Subsystems] 1 'meshings' descriptors matched in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json
[Subsystems] No descriptors matched for  examples in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
[Subsystems] 1 'displays' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
[Subsystems] No descriptors matched for  meshings in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
GfxDevice: creating device client; threaded=1; jobified=0
[XR] [2004] [04:10:41.427][Info   ] Available Layers: (0)
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: Qualcomm(R) Adreno(TM) 630 GPU (ID=0x45373230)
    Vendor:   Qualcomm
    VRAM:     1932 MB
Initialize engine version: 2022.3.8f1 (b5eafc012955)
The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object '<null>''<null>') is missing!
A scripted object (probably Microsoft.MixedReality.Toolkit.XRSDK.Oculus.Input.OculusXRSDKDeviceManagerProfile?) has a different serialization layout when loading. (Read 72 bytes but expected 116 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
The referenced script on this Behaviour (Game Object 'Button_OpenPortSettings') is missing!
 

 

 

2 Replies

@HoloLens2UserDid you find a solution? Getting same behavior from basically a blank app with just MRTK installed. Using Unity 2022.3

@DKLTBC Did you find any solution, if Yes then Please reply to me.