1

我正在尝试使用统一 3D 为 hololens 构建构建,我安装了带有更新的 Visual Studio Community 2015、Microsoft hololens 模拟器 10.0.14393.0、Windows SDK-10.0.14393.33。尝试使构建出现以下错误时遇到一个奇怪的问题:

IOException:Win32 IO 返回 112。路径:C:\Program Files\Unity HoloLens 5.4.0f3-HTP\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x64\debug\UnityPlayer_UAP_x64_debug_dotnet.pdb”或“.\App \Players\UAP\x64\debug\UnityPlayer_UAP_x64_debug_dotnet.pdb System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) (在/Users/builduser/buildslave/mono/build/mcs/class/ corlib/System.IO/File.cs:124) PostProcessWinRT.CopyPlayerFiles (System.String[] extensions) (在 C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:830) PostProcessUAPDotNet。 CopyPlayerFiles () (在 C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessUAPDotNet.cs:69) PostProcessWinRT.Process () (在 C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:151) UnityEditor.Metro.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (在 C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed /ExtensionModule.cs:130) UnityEditor.PostprocessBuildPlayer.Postprocess(BuildTarget 目标,System.String installPath,System.String companyName,System.String productName,Int32 宽度,Int32 高度,System.String downloadWebplayerUrl,System.String manualDownloadWebplayerUrl,BuildOptions 选项, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport 报告) (在 C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176) UnityEditor.HostView:OnGUI()PostProcess (BuildPostProcessArgs args) (在 C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:130) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System .String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport 报告)(在 C:/buildslave/unity/build/Editor/Mono/ BuildPipeline/PostprocessBuildPlayer.cs:176) UnityEditor.HostView:OnGUI()PostProcess (BuildPostProcessArgs args) (在 C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:130) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System .String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport 报告)(在 C:/buildslave/unity/build/Editor/Mono/ BuildPipeline/PostprocessBuildPlayer.cs:176) UnityEditor.HostView:OnGUI()String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport 报告)(在 C:/buildslave /unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176) UnityEditor.HostView:OnGUI()String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport 报告)(在 C:/buildslave /unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176) UnityEditor.HostView:OnGUI()

注意:在构建应用程序之前,我在统一编辑器中选择了推荐选项,例如

  • SDK:通用 10
  • UWP 构建类型:D3D
  • 构建并运行:本地机器。
  • 检查播放器设置:虚拟房地产 SDK。
4

2 回答 2

1

在别处找到 - 错误 112 是“磁盘空间不足”。AKA,您的硬盘驱动器已满,删除一些东西。

于 2016-10-04T20:02:16.427 回答
0

播放器设置:Virtual Reality SDK错了,应该是hololens专用的SDK。

于 2016-09-22T19:29:13.723 回答