当前Unity 版本:Unity5.6.2
弄了5个小时啊,刚开始学习Unity ,出现了如下问题:
IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\unity\unityworkroom\xxx[Unknown]
System.IO.FileStream.FlushBuffer (System.IO.Stream st) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1040)
System.IO.FileStream.FlushBuffer () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1054)
System.IO.FileStream.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:859)
System.IO.StreamWriter.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:191)
System.IO.StreamWriter.Dispose (Boolean disposing) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:162)
UnityEditor.HostView:OnGUI()
解决方案:
切换Build System 为Gradle 模式;