- Home /
Build and Run not working Error Message
The script I have plays fine in Editor. However, when I try to Build and Run (I also tried just Build), I would receive a few different error messages. I have tried saving the build in a folder that is not the Asset folder and have tried reimporting all my assets. I am currently trying to Build and Run on Windows, but plan on implementing my game on iOS later. Please help.
Error building Player because scripts had compiler errors
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Assets\MainMenu.cs(4,22): error CS0234: The type or namespace name 'Hosting' does not exist in the namespace 'System.Runtime' (are you missing an assembly reference?)
could you go to the playersettings and change to Api level 4.x
I have, that's for iOS and Android right? I can't Build and Run on either of those platforms. $$anonymous$$y issues are still present when I try to Build and Run on Windows for PC.
Your answer
Follow this Question
Related Questions
¿Por qué ya no puedo compilar libil2cpp?... error. 0 Answers
WEBGL building error with developer 0 Answers
,why cant i build my project 0 Answers