MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

App build crashes on Windows 10 without HMD/ Certification Kit fails

Open Alexees opened this issue 9 years ago • 8 comments

We are developing for the Acer Mixed Reality Development Edition HMD. On a PC with the HMD connected our app will pass the Windows App Certification Kit tests. Without the HMD it fails:

FAILED
Crashes and hangs
Error Found: The crashes and hangs test detected the following errors:
Executable C:\Program Files\windowsapps\app_0.7.25.0_x64__qmf6y42tvhpew\app.exe was detected by Windows Error Reporting and experienced a crash or hang.
Application app_0.7.25.0_x64__qmf6y42tvhpew was detected by Windows Error Reporting and experienced a crash or hang.
Crash dump file C:\Users\x\AppData\Local\Microsoft\AppCertKit\app.exe.10124.dmp was created by Windows Error Reporting and provides additional information.
Crash dump file C:\Users\x\AppData\Local\Microsoft\AppCertKit\app.exe.17184.dmp was created by Windows Error Reporting and provides additional information.
Crash dump file C:\Users\x\AppData\Local\Microsoft\AppCertKit\app.exe.7876.dmp was created by Windows Error Reporting and provides additional information.

As I understand it, Apps for Mixed Reality HMDs are not differentiated from ordinary windows 10 apps in the store. This means, users can start the app without any HMD and just crash the app

Mainly, we receive the following two crashes:

APPLICATION_FAULT_1007_UnityPlayer.dll!SpatialInputImpl::SetEventHandlerAndAttach
APPLICATION_FAULT_AVRF_1007_UnityPlayer.dll!SpatialInputImpl::SetEventHandlerAndAttach

Is this known? Will this be addressed (hopefully soon)?

Alexees avatar Oct 30 '17 08:10 Alexees

Hmm, I'm not aware if this issue has already been reported, but it seems like it should be filed as a bug with Unity.

keveleigh avatar Oct 30 '17 15:10 keveleigh

Where would that be reported if it's the Unity MRTK3 build?

Alexees avatar Oct 30 '17 17:10 Alexees

Same way as normal: Help -> Troubleshoot Issue -> Report a new issue. Let me know the issue number and I can raise it on our end.

keveleigh avatar Oct 30 '17 20:10 keveleigh

Do you see this if you reboot the machine after unplugging the device, but before running the test?

ChimeraScorn avatar Oct 30 '17 20:10 ChimeraScorn

It's the same error that gets thrown when the editor crashes when you don't have the headset plugged in. Definitely a unity bug.

StephenHodgson avatar Oct 31 '17 05:10 StephenHodgson

Workaround found: make sure HMD is plugged in when running cert test

StephenHodgson avatar Oct 31 '17 17:10 StephenHodgson

Not sure if the same thing but when i run the unity generate project from VS and hmd is not plugged in it crashes with this error hist-debug-x64-crash

linojon avatar Oct 31 '17 18:10 linojon

Opened bug report case 964561 on the Unity side.

Alexees avatar Nov 01 '17 08:11 Alexees