Visual studio 将unity 3d应用程序部署到hololens应用程序失败,代码为-2147483645

Visual studio 将unity 3d应用程序部署到hololens应用程序失败,代码为-2147483645,visual-studio,hololens,Visual Studio,Hololens,我最近将我的unity 3d应用程序从unity版本5.6.0升级到5.6.1,并将holotoolkit unity从1.5.6升级到1.5.7 现在,每当我构建应用程序并尝试通过Visual Studio 2017将其部署到设备时,我都会收到以下错误: 'LabanotationAR.exe' (CoreCLR: DefaultDomain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.2.1_1.1.251

我最近将我的unity 3d应用程序从unity版本
5.6.0
升级到
5.6.1
,并将
holotoolkit unity
1.5.6
升级到
1.5.7

现在,每当我构建应用程序并尝试通过
Visual Studio 2017
将其部署到设备时,我都会收到以下错误:

'LabanotationAR.exe' (CoreCLR: DefaultDomain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.2.1_1.1.25129.1_x86__8wekyb3d8bbwe\System.Private.CoreLib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\entrypoint\LabanotationAR.exe'. Symbols loaded.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.3.1_1.1.25129.1_x86__8wekyb3d8bbwe\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\WinMetadata\Windows.winmd'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityPlayer.winmd'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Runtime.InteropServices.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\WinRTBridge.winmd'. Cannot find or open the PDB file.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\BridgeInterface.winmd'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\Assembly-CSharp.dll'. Symbols loaded.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\WinRTLegacy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.UI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.Networking.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.HoloLens.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\nunit.framework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Reflection.dll'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.Analytics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Globalization.dll'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Private.Networking.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Reflection.Primitives.dll'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Reflection.TypeExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Xml.XDocument.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Xml.ReaderWriter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Text.Encoding.dll'. Module was built without symbols.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngine.VR.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loading native plugins

  Loading MicStreamSelector.dll

  Loading SharingClient.dll

  Loading SpatialUnderstanding.dll

  Loading PlaneFinding.dll

Module information:
 Built with Compiler Ver '190023918'
 Built from '5.6/release' branch
 Version is '5.6.1f1 (2860b30f0b54)'
 Debug build
 Application type 'D3D11'
 Used 'UWP'

 OS 'Windows 10 (10.0.14393)'

PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/LabanotationARVS.Debug_x86.kurtr/Data (debug = 0)

PlayerConnection initialized network socket : 0.0.0.0 55008

Multi-casting "[IP] 172.30.0.203 [Port] 55008 [Flags] 2 [Guid] 2978211851 [EditorId] 4294967295 [Version] 1048832 [Id] MetroPlayerX86(HoloLens-UAO3C) [Debug] 0" to [225.0.0.222:54997]...

Started listening to [0.0.0.0:55008]

Player data archive not found at `C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/LabanotationARVS.Debug_x86.kurtr/Data/data.unity3d`, using local filesystem
GfxDevice: creating device client; threaded=1

Direct3D:

    Version:  Direct3D 11.0 [level 11.1]

    Renderer: HoloLens Graphics (ID=0x22b0)

    Vendor:   Intel

    VRAM:     604 MB

Initialize engine version: 5.6.1f1 (2860b30f0b54)

'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\UnityEngineProxy.dll'. Cannot find or open the PDB file.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LabanotationAR.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\LabanotationARVS.Debug_x86.kurtr\System.Reflection.Extensions.dll'. Module was built without symbols.
The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
  NetworkManager
  MasterServerInterface
  UnityAdsManager
  ClusterInputManager
  CrashReportManager

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:/buildslave/unity/build/Runtime/VR/VRDevice.cpp Line: 184)


UnloadTime: 25.033651 ms

WinRTScriptingObjectWrapper::InternalAddRef Reference Count cannot be zero

(Filename: C:\buildslave\unity\build\Runtime/ScriptingBackend/DotNet/ScriptingApi_DotNet.cpp Line: 661)


The program '[3492] LabanotationAR.exe' has exited with code -2147483645 (0x80000003).

如果有人能就如何调试此错误消息给出一些建议,我将不胜感激。

这是一个统一问题,已在将来的版本中修复。这应该在下一个测试版更新中发布


很高兴知道。我一直在和他们一起研究Unity答案,当我向他们展示托管代码的调试日志时,他们停止了回复:)。