简体   繁体   中英

don't build unity programm

dont build unity programm. Click "Build and Run" and get error:


UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors

at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\\buildslave\\unity\\build\\Editor\\Mono\\BuildPlayerWindowBuildMethods.cs:194

at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\\buildslave\\unity\\build\\Editor\\Mono\\BuildPlayerWindowBuildMethod s.cs:97 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Unity is instaled on disk D: And by path C:\\buildslave\\unity\\build.... I dont have anything

I have seen a lot of different answers, but in my case, when building to Standalone, it turned out I left the game running from the previous build and it was preventing the new build from creating an executable.

Same 2 errors [0x00242] and [0x0007f]. I just had to close the game...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM