Log in or register to post comments

Vuforia HoloLens Sample crash on HoloLens but not in Unity

October 9, 2019 - 7:19am #1

Hello,

I'm using Unity 2018.4.10.f1 and i download the Vuforia HoloLens Sample from the Store and imported it into an empy project.

When i test it in Unity by using my Mac webcam (i'm running windows 10 with Bootcamp) everything work fine: the models like the Astronaut or the Drone are built into the sample images when i show it to my webcam.

The problems come when i build the project on VisualStudio 2019 and running it on my HoloLens.

The app opens but i can't see the models when i look at the sample images with the HoloLens.

Furthemore, while the debugging i get this errors in console:

Exception generated at 0x76EB2DE2 (KernelBase.dll) in Test.exe: WinRT source error - 0xC00DABE0: "No acquisition device available.".

cameraDeviceStartCamera

And when i look at the sample image instead of the models spawning i get this:

Trackable Astronaut NO_POSE -- UNKNOWN

UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)

UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Logger:Log(LogType, Object)

UnityEngine.Debug:Log(Object)

DefaultTrackableEventHandler:OnTrackableStateChanged(Status, Status)

Vuforia.TrackableBehaviour:RegisterTrackableEventHandler(ITrackableEventHandler)

DefaultTrackableEventHandler:Start()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\Windows.Media.Speech.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\BCP47Langs.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\Speech_OneCore\Common\sapi_onecore.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\winmmbase.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\Windows.Globalization.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\BCP47mrm.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\FlightSettings.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\bcd.dll' completato. Simboli caricati.

onecoreuap\enduser\nui\onecore\sapi\sapi\sr\srcloudpolicy.cpp(255)\sapi_onecore.dll!6405937A: (caller: 640597B1) ReturnHr(1) tid(fe4) 80070005 Access is denied.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\Speech_OneCore\Common\SpeechServiceWinRTApi.ProxyStub.dll' completato. Simboli caricati.

'Test.exe' (Win32): caricamento di 'C:\Windows\System32\Speech_OneCore\Engines\SR\spsrx_onecore.dll' completato. Simboli caricati.

Trackable Drone NO_POSE -- UNKNOWN

UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)

UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])

UnityEngine.Logger:Log(LogType, Object)

UnityEngine.Debug:Log(Object)

DefaultTrackableEventHandler:OnTrackableStateChanged(Status, Status)

Vuforia.TrackableBehaviour:RegisterTrackableEventHandler(ITrackableEventHandler)

DefaultTrackableEventHandler:Start()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)



Furthermore, if i launch the app on the HoloLens withouth running it on VisualStudio i can see the splash screen and the app close.

Log in or register to post comments