ayuti
2022-04-24 20:26
采纳率: 33.3%
浏览 17

打包pc端时报错是怎么回事

问题遇到的现象和发生背景

2018版unity,打包导出pc端时报错

运行结果及报错内容

第一个报错内容
DirectoryNotFoundException: Could not find a part of the path "D:\unity\消防\Assets\�ű�\NewEditorScript1.cs".
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:292)
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, FileMode mode, FileAccess access, FileShare share) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:358)
UnityEditor.Scripting.APIUpdaterHelper.FindTypeMatchingMovedTypeBasedOnNamespaceFromError (IEnumerable`1 lines) (at D:/unity/Editor/Mono/Scripting/APIUpdaterHelper.cs:305)
UnityEditor.Scripting.APIUpdaterHelper.IsReferenceToTypeWithChangedNamespace (System.String normalizedErrorMessage) (at D:/unity/Editor/Mono/Scripting/APIUpdaterHelper.cs:48)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

img

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

相关推荐 更多相似问题