因此,我创造了我的游戏,并试图构建它。我遇到了一些错误,对我来说毫无意义。
这是错误:
UnityEditor.BuildPlayerWindow + BuildMethodException:2个错误 在C:\ buildslave \ unity \ build \ Editor \ Mono \ BuildPlayerWindowBuildMethods.cs:191中的UnityEditor.BuildPlayerWindow + DefaultBuildMethods.BuildPlayer(UnityEditor.BuildPlayerOptions选项)[0x00234] 在C:\ buildslave \ unity \ build \ Editor \ Mono \ BuildPlayerWindowBuildMethods.cs:97中的UnityEditor.BuildPlayerWindow.CallBuildMethods(System.Boolean askForBuildLocation,UnityEditor.BuildOptions defaultBuildOptions)[0x0007f] UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr)
UnityException:构建路径包含使用“创建Visual Studio解决方案”选项构建的项目,该选项与当前的构建设置不兼容。考虑将您的项目构建到一个空目录中。 UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.CheckSafeProjectOverwrite(UnityEditor.Modules.BuildPostProcessArgs args)(在C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:58) DesktopStandalonePostProcessor.PostProcess(UnityEditor.Modules.BuildPostProcessArgs args)(在C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:43) UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr)
它应该正确构建并运行。它目前不这样做。任何帮助将不胜感激。 :D