使用Unity2022.3.13f1c1,打开BuildEditor点击Proto2CS编译协议出错
Win32Exception: ApplicationName=‘cmd.exe’, CommandLine=‘/c “.\Tool.exe –AppType=ExcelExporter –Console=1”’, CurrentDirectory=‘../Bin/’, Native error= 目录名称无效。
System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <36d5d97f0e39429283d80156f1c7f1fc>:0)
System.Diagnostics.Process.Start () (at <36d5d97f0e39429283d80156f1c7f1fc>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
ET.ShellHelper.Run (System.String cmd, System.String workDirectory, System.Collections.Generic.List`1[T] environmentVars) (at Assets/Scripts/Editor/Helper/ShellHelper.cs:82)
UnityEngine.Debug:LogException(Exception)
ET.ShellHelper:Run(String, String, List`1) (at Assets/Scripts/Editor/Helper/ShellHelper.cs:95)
ET.ToolsEditor:ExcelExporter() (at Assets/Scripts/Editor/ToolEditor/ToolsEditor.cs:14)
ET.BuildEditor:OnGUI() (at Assets/Scripts/Editor/BuildEditor/BuildEditor.cs:169)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)