- Home /
Cannot build to PC platform due to two errors.
I have developed a game. But when I go for Build option, I get following errors.
**1.) MissingMethodException: Cannot find the requested method. UnityEditor.AppStatusBar.OnGUI () (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/GUI/AppStatusBar.cs:117)
2.) MissingMethodException: Cannot find the requested method. UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions, Boolean first) (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/BuildPlayerWindow.cs:428) UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/BuildPlayerWindow.cs:412) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/BuildPlayerWindow.cs:1221) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/BuildPlayerWindow.cs:1202) UnityEditor.BuildPlayerWindow.OnGUI () (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/BuildPlayerWindow.cs:898) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/GUI/DockArea.cs:228) UnityEditor.HostView.Invoke (System.String methodName) (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/GUI/DockArea.cs:221) UnityEditor.HostView.OnGUI () (at C:/BuildAgent/work/d9c061b1c154f5ae/Editor/Mono/GUI/DockArea.cs:121)**
Provide me a solution for this. Thanx!
Answer by abhishek.p.3.14 · Sep 03, 2012 at 05:43 PM
I sorted out my problem -> Installed differed versions.
A clean install again and it builted flawlessly.
Thanks!