在 MRTK 2.3 中启用 'Spatial Awareness System' HoloLens(第 1 代)模拟器上的应用崩溃



我最近为使用最新版本的HoloLens(1st.gen(模拟器的Microsoft HoloLen(1st.gen(开发设置了所需的软件(遵循MRTK指南:https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/GettingStartedWithTheMRTK.html#get-最新的mrtk统一包(。我已经在模拟器上测试了MRTK的一些示例场景,一切都如预期的那样工作。然而,当我测试SpatialAwarenessMeshDemo时,该应用程序在模拟器中启动,并显示unity启动屏幕。然后场景是可见的,但在1-2s后,场景消失,并抛出异常。Visual Studio日志:

'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ntdll.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32KernelBase.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32combase.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ucrtbase.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rpcrt4.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32kernel32legacy.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32bcryptprimitives.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwevccorlib140d_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32oleaut32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32msvcp_win.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwevcruntime140d_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:UsersDefaultAccountAppDataLocalDevelopmentFilesTemplate3DVS.Debug_Win32.Christopherucrtbased.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwemsvcp140d_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Forwarderskernel32.dll'. 
The thread 0x1578 has exited with code 0 (0x0).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32procthreadexthost.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32msvcrt.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32kernel.appcore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32twinapi.appcore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32sechost.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rmclient.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32WinTypes.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32SHCore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.UI.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32win32u.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32dcomp.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32MinUser.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32TextInputFramework.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32InputHost.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32dxgi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32gdi32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32CoreUIComponents.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32gdi32min.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32CoreMessaging.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32d2d1.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32d3d11.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ntmarta.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32advapi32legacy.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32sspicli.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32propsys.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32bcrypt.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32OneCoreUAPCommonProxyStub.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Graphics.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32cfgmgr32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Shell.ServiceHostBuilder.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:UsersDefaultAccountAppDataLocalDevelopmentFilesTemplate3DVS.Debug_Win32.ChristopherUnityPlayer.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ws2_32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32D3D12.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32mfplat.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32mfreadwrite.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwevccorlib140_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Forwardersversion.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32crypt32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32MMDevAPI.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwevcruntime140_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32msasn1.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'U:ProgramsWindowsAppsMicrosoft.VCLibs.140.00.Debug_14.0.27323.0_x86__8wekyb3d8bbwemsvcp140_app.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32RTWorkQ.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32devobj.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ExecModelClient.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Storage.ApplicationData.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32windows.storage.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32profapi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32powrprof.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32shlwapi_onecore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32MrmCoreR.dll'. 
CreateDirectory 'C:/Data' failed: Operation has failed with error 0xb7: Cannot create a file when that file already exists.
(current dir: C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Template3DVS.Debug_Win32.Christopher/Data)
Logging to C:/Data/Users/Visitor0/AppData/Local/Packages/Template3D_pzq3xp76mxafg/TempState/UnityPlayer.log
[0.322811 / 0.399454] - Initializing Unity runtime
Loading native plugins
Loading AudioPluginMsHRTF.dll
'HoloLensTest.exe' (Win32): Loaded 'U:UsersDefaultAccountAppDataLocalDevelopmentFilesTemplate3DVS.Debug_Win32.ChristopherAudioPluginMsHRTF.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32HrtfApo.dll'. 
Module information:
Built with Compiler Ver '191627012'
Built from '2019.2/staging' branch
Version is '2019.2.21f1 (9d528d026557)'
Debug build
Application type 'D3D'
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Devices.Enumeration.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32deviceassociation.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32execmodelproxy.dll'. 
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: Cn::XH at memory location 0x013CE754.
onecoreuapwindowsmoderncoreinputv2inputhostcomponentscursorclientcursorclient.cpp(43)InputHost.dll!6E59AB33: (caller: 6E59ACAC) ReturnHr(1) tid(1678) 87B20809 onecoreuapwindowsmoderncoreinputv2inputhostcomponentscursorclientcursorclient.cpp(75)InputHost.dll!6E59ACC3: (caller: 6E56959D) ReturnHr(2) tid(1678) 87B20809 'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32UiaManager.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.UI.Core.TextInput.dll'. 
[0.000716 / 0.617966] - AppCallbacks::SetCoreWindowEvents
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Perception.Stub.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Mirage.dll'. 
wil(439)Windows.Mirage.dll!6EA6C73F: (caller: 6EA6C564) ReturnHr(1) tid(d64) 80070005 Access is denied.
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32d3d10warp.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ResourcePolicyClient.dll'. 
'HoloLensTest.exe' (Win32): Unloaded 'C:WindowsSystem32ResourcePolicyClient.dll'
[0.080414 / 0.698570] - AppCallbacks::InitializeD3DWindow
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32cryptbase.dll'. 
[0.740232 / 0.740232] - OnActivated event.
[0.003292 / 0.743524] - OnCoreWindowSizeChanged event (0.00, 0.00, 853.33, 480.00), m_Initialized=False.
[0.033297 / 0.776821] - OnVisibilityChanged event - Visible.
[0.004851 / 0.781672] - OnWindowActivated event - CodeActivated.
OS 'Windows 10 (10.0.17763)'
'HoloLensTest.exe' (Win32): Loaded 'U:UsersDefaultAccountAppDataLocalDevelopmentFilesTemplate3DVS.Debug_Win32.ChristopherGameAssembly.dll'. Symbols loaded.
[2.106498 / 2.888170] - OnCoreWindowSizeChanged event (0.00, 0.00, 853.33, 480.00), m_Initialized=False.
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32IPHLPAPI.DLL'. 
PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Template3DVS.Debug_Win32.Christopher/Data (debug = 0)
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32mswsock.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Networking.Connectivity.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Networking.HostName.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32wshbth.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32dnsapi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32nsi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32dhcpcsvc6.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32dhcpcsvc.dll'. 
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32FWPUCLNT.DLL'. 
PlayerConnection initialized network socket : 0.0.0.0 55287
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32nlaapi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.ApplicationModel.dll'. 
Multi-casting "[IP] 172.17.191.38 [Port] 55287 [Flags] 2 [Guid] 1043895467 [EditorId] 0 [Version] 1048832 [Id] UWPPlayerX86(minwinpc) [Debug] 0 [PackageName] Template3D_pzq3xp76mxafg" to [225.0.0.222:54997]...
Started listening to [0.0.0.0:55287]
PlayerConnection already initialized - listening to [0.0.0.0:55287]
[3.073006 / 3.514748] - Initialize
[XR] Discovering subsystems at path C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Template3DVS.Debug_Win32.Christopher/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32DXGIDebug.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32d3d11_3SDKLayers.dll'. 
Successfully created d3d11 device with debug flag.
Direct3D:
Version:  Direct3D 11.0 [level 11.1]
Renderer: Microsoft Basic Render Driver (ID=0x8c)
Vendor:   (null)
VRAM:     1023 MB
Initialize engine version: 2019.2.21f1 (9d528d026557)
[AudioManager] InitNormal(tryDeviceDefaults = false, preferredOutputType = FMOD_OUTPUTTYPE_AUTODETECT) attempt with hardAudioDisable: false
[AudioManager] Setting output to FMOD_OUTPUTTYPE_AUTODETECT
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Media.Devices.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32DevDispItemProvider.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32AudioSes.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32avrt.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ResourcePolicyClient.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32threadpoolwinrt.dll'. 
[AudioManager] InitNormal succeeded with output "FMOD_OUTPUTTYPE_WASAPI". Driver name is "Speakers (Null Audio Driver)". Speaker mode is "FMOD_SPEAKERMODE_STEREO"
The thread 0x12e0 has exited with code 0 (0x0).
The thread 0x12bc has exited with code 0 (0x0).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Gaming.Input.dll'. 
onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(1) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(2) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(3) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(4) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(5) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(6) tid(b90) 8685C003 onecoreuapxboxdevicesapiwinrtpnpapiwrapper.cpp(385)Windows.Gaming.Input.dll!6FFAF86B: (caller: 6FFB2723) ReturnHr(7) tid(b90) 8685C003 [0.001229 / 5.339379] - AppCallbacks::SetupInputEvents
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Devices.Sensors.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32biwinrt.dll'. 
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: WinRT originate error - 0x80040111 : 'Windows.UI.WindowManagement.DisplayRegion'.
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32userenv.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32profext.dll'. 
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalviewpositiontrackerinternal.h(94)Windows.Devices.Sensors.dll!506F33ED: (caller: 506F240F) Exception(1) tid(1678) 80040111 ClassFactory cannot supply requested class
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x013CDB40.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsimpleorientation.cpp(127)Windows.Devices.Sensors.dll!506F1AC7: (caller: 506EB61C) Exception(2) tid(1678) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x013CDD88.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensorserver.cpp(46)Windows.Devices.Sensors.dll!506E8581: (caller: 506E593F) ReturnHr(1) tid(1678) 80070490 Element not found.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpubliclibsimpleorientationsensor.cpp(160)Windows.Devices.Sensors.dll!5074B90D: (caller: 50749E09) ReturnHr(2) tid(1678) 80070490 Element not found.
[0.061399 / 5.401353] - AppCallbacks::SetupOrientationSensorEvents
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32windows.applicationmodel.datatransfer.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32coml2.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32iertutil.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ie_shims.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ClipboardServer.dll'. 
[0.152667 / 5.458863] - AppCallbacks::Load
[2.571148 / 5.459318] - Starting first scene loading
The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
ClusterInputManager
If your machine has multiple graphics adapters, Unity may have created a WindowContext on the wrong adapter. If you experience a black screen when playing, please restart the Editor.
(Filename: C:buildslaveunitybuildModules/VR/VRDevice.cpp Line: 323)
onecoreuapanaloginputholographicdriverclientliblibholographicdriverhandlewrapper.h(542)Windows.Mirage.dll!6EA719A2: (caller: 6EA7177F) ReturnHr(2) tid(1674) 8007007B The filename, directory name, or volume label syntax is incorrect.
CallContext:[OpenHolographicDevice] 
onecoreuapanaloginputholographicdriverclientliblibholographicdriverhandlewrapper.h(428)Windows.Mirage.dll!6EA717C5: (caller: 6EA75CDB) Exception(1) tid(1674) 8007007B The filename, directory name, or volume label syntax is incorrect.
CallContext:[OpenHolographicDevice] 
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCCBF8.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapanaloginputholographicdriverclientliblibspatialgraphdriverclient.cpp(2174)Windows.Mirage.dll!6EA7370F: (caller: 6EA73573) ReturnHr(3) tid(1674) 8007007B The filename, directory name, or volume label syntax is incorrect.
onecoreuapanaloginputholographicdriverclientliblibholographicdriverhandlewrapper.h(542)Windows.Mirage.dll!6EA719A2: (caller: 6EA7177F) ReturnHr(4) tid(158c) 8007007B The filename, directory name, or volume label syntax is incorrect.
CallContext:[OpenHolographicDevice] 
onecoreuapanaloginputholographicdriverclientliblibholographicdriverhandlewrapper.h(428)Windows.Mirage.dll!6EA717C5: (caller: 6EA75CDB) Exception(2) tid(158c) 8007007B The filename, directory name, or volume label syntax is incorrect.
CallContext:[OpenHolographicDevice] 
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x08B3DE98.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapanaloginputholographicdriverclientliblibspatialgraphdriverclient.cpp(2174)Windows.Mirage.dll!6EA7370F: (caller: 6EA73573) ReturnHr(5) tid(158c) 8007007B The filename, directory name, or volume label syntax is incorrect.
[0.023743 / 5.483061] - OnCoreWindowSizeChanged event (0.00, 0.00, 845.33, 480.00), m_Initialized=True.
Created eye textures with a "texture array" layout.  The "single-pass instancing" stereo mode will be used.
[0.080543 / 5.563604] - Finishing first scene loading
[0.000505 / 5.564109] - First level loaded
[0.000411 / 5.564521] - PerformUpdateAndRender started
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:buildslaveunitybuildModules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
End showing splash screen.
UnloadTime: 2.198500 ms
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32OneCoreCommonProxyStub.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.System.Profile.SystemId.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Clipc.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32cryptsp.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32CryptoWinRT.dll'. 
Failed to calculate boundary bounds.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Microsoft.MixedReality.Toolkit.Boundary.BaseBoundarySystem:CalculateBoundaryBounds()
Microsoft.MixedReality.Toolkit.Boundary.BaseBoundarySystem:Initialize()
Microsoft.MixedReality.Toolkit.Boundary.MixedRealityBoundarySystem:Initialize()
Microsoft.MixedReality.Toolkit.<>c:<InitializeAllServices>b__60_0(IMixedRealityService)
System.Action`1:Invoke(T)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeServiceLocator()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeInstance()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterInstance(MixedRealityToolkit, Boolean)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Awake()
(Filename: C:buildslaveunitybuildRuntime/Export/Debug/Debug.bindings.h Line: 35)
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rometadata.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32WinMetadataWindows.Graphics.winmd'. Module was built without symbols.
The thread 0x310 has exited with code 0 (0x0).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Media.Speech.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32msvcp110_win.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32BCP47Langs.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32urlmon.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Speech_OneCoreCommonsapi_onecore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32winmmbase.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32winhttp.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rsaenh.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32msxml6.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32ole32_wp.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Windows.Globalization.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32BCP47mrm.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32FlightSettings.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32bcd.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Speech_OneCoreCommonSpeechServiceWinRTApi.ProxyStub.dll'. 
onecoreuapendusernuionecoresapisapisrsrcloudpolicy.cpp(255)sapi_onecore.dll!5E2B61EA: (caller: 5E2B6621) ReturnHr(1) tid(b98) 80070005 Access is denied.
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32Speech_OneCoreEnginesSRspsrx_onecore.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32wininet.dll'. 
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: 0x40080202: WinRT transform error (parameters: 0x8000000B, 0x80070490, 0x00000014, 0x0F5FE224).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32tokenbinding.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32OnDemandConnRouteHelper.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32winnsi.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rasapi32.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32rasman.dll'. 
[5.896206 / 11.460727] - OnWindowActivated event - Deactivated.
The thread 0x173c has exited with code 0 (0x0).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32cryptnet.dll'. 
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32webio.dll'. 
The thread 0x614 has exited with code 0 (0x0).
'HoloLensTest.exe' (Win32): Loaded 'C:WindowsSystem32cabinet.dll'. 
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
The thread 0x9d0 has exited with code 0 (0x0).
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: WinRT originate error - 0x80040111 : 'Windows.UI.WindowManagement.DisplayRegion'.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalviewpositiontrackerinternal.h(94)Windows.Devices.Sensors.dll!506F33ED: (caller: 506F240F) Exception(3) tid(1674) 80040111 ClassFactory cannot supply requested class
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCC900.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensor.cpp(179)Windows.Devices.Sensors.dll!506EF4AC: (caller: 506EB61C) Exception(4) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCCB48.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensorserver.cpp(46)Windows.Devices.Sensors.dll!506E8581: (caller: 506E593F) ReturnHr(3) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: WinRT originate error - 0x80040111 : 'Windows.UI.WindowManagement.DisplayRegion'.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalviewpositiontrackerinternal.h(94)Windows.Devices.Sensors.dll!506F33ED: (caller: 506F240F) Exception(5) tid(1674) 80040111 ClassFactory cannot supply requested class
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCC8D0.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensor.cpp(179)Windows.Devices.Sensors.dll!506EF4AC: (caller: 506EB61C) Exception(6) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCCB18.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensorserver.cpp(46)Windows.Devices.Sensors.dll!506E8581: (caller: 506E593F) ReturnHr(4) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: WinRT originate error - 0x80040111 : 'Windows.UI.WindowManagement.DisplayRegion'.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalviewpositiontrackerinternal.h(94)Windows.Devices.Sensors.dll!506F33ED: (caller: 506F240F) Exception(7) tid(1674) 80040111 ClassFactory cannot supply requested class
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCC860.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensor.cpp(179)Windows.Devices.Sensors.dll!506EF4AC: (caller: 506EB61C) Exception(8) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCCAA8.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensorserver.cpp(46)Windows.Devices.Sensors.dll!506E8581: (caller: 506E593F) ReturnHr(5) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 (KernelBase.dll) in HoloLensTest.exe: WinRT originate error - 0x80040111 : 'Windows.UI.WindowManagement.DisplayRegion'.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalviewpositiontrackerinternal.h(94)Windows.Devices.Sensors.dll!506F33ED: (caller: 506F240F) Exception(9) tid(1674) 80040111 ClassFactory cannot supply requested class
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCC940.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensor.cpp(179)Windows.Devices.Sensors.dll!506EF4AC: (caller: 506EB61C) Exception(10) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x01FCCB88.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
onecoreuapdriversmobilepcsensorsconvergenceapiwinrtpublicinternalsensorserver.cpp(46)Windows.Devices.Sensors.dll!506E8581: (caller: 506E593F) ReturnHr(6) tid(1674) 80070490 Element not found.
Exception thrown at 0x7770F2B2 in HoloLensTest.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x01FCDDBC.
The thread 0x778 has exited with code 0 (0x0).
Failed to retrieve bytes for vertex positions from surface mesh!
(Filename: C:buildslaveunitybuildModules/VR/HoloLens/SpatialMapping/SpatialSurface.cpp Line: 127)
HoloLensTest.exe has triggered a breakpoint. 

在尝试不同的场景后,只有当我在MixedRealityToolki对象中选择启用了"启用空间感知系统"的配置文件时,才会发生这种情况。我已经尝试通过启用"启用空间感知系统"并将"空间对象网格观察器"添加到空间观察器列表来克隆和修改DefaultHoloLens1ConfigurationProfile。我仔细检查了我的项目设置和Unity Package Manager的正确设置。

有人知道这个问题的原因吗?

所以讽刺的是,我在发布问题后就找到了解决方案:我偶然发现https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3554所以我安装了一个旧版本的HoloLens(1st.gen(模拟器,一切都很好。旧版本:https://learn.microsoft.com/en-us/windows/mixed-reality/hololens-emulator-archive

适用于我的版本:HoloLens Emulator build 10.0.17134.80

相关内容

  • 没有找到相关文章

最新更新