Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by F4LLCON · Jun 01, 2012 at 09:03 PM · errorbuildrun

Unity 3 Build and Build & Run does not work, why?

Hello there, I wanted to test the game and build it, but I can't. If I press Build or Build&Run for Windows I get the following error shown and nothing else happens.

Could someone help me out? Thank you

MissingMethodException: Cannot find the requested method. UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions, Boolean first) (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/BuildPlayerWindow.cs:428) UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/BuildPlayerWindow.cs:412) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/BuildPlayerWindow.cs:1222) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/BuildPlayerWindow.cs:1203) UnityEditor.BuildPlayerWindow.OnGUI () (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/BuildPlayerWindow.cs:899) 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/300357e52574df36/Editor/Mono/GUI/DockArea.cs:228) UnityEditor.HostView.Invoke (System.String methodName) (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/GUI/DockArea.cs:221) UnityEditor.HostView.OnGUI () (at C:/BuildAgent/work/300357e52574df36/Editor/Mono/GUI/DockArea.cs:121)

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image wilco64256 · Jun 01, 2012 at 09:10 PM 1
Share

Is this the only error you're getting in the console when you try to build? How many scenes have you added to the build settings, what platform are you trying to build for?

avatar image F4LLCON · Jun 01, 2012 at 09:15 PM 0
Share

I'm trying to build for Windows, Windows 64. Both get errors. I have only one scene. Running windows 64

I'm also getting:

$$anonymous$$issing$$anonymous$$ethodException: Cannot find the requested method. UnityEditor.AppStatusBar.OnGUI () (at C:/BuildAgent/work/300357e52574df36/Editor/$$anonymous$$ono/GUI/AppStatusBar.cs:117)

avatar image adanete · Jun 07, 2012 at 02:04 PM 0
Share

Im getting the same error anybody fixed it?

avatar image SergeantBiscuits · Jul 30, 2012 at 07:53 AM 0
Share

Sorry to bump an old one, but I'm getting this same error. Somebody please help! $$anonymous$$y code does not contain any OnGUI functions...

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by zico_mahilary · Jun 07, 2012 at 05:08 PM

have u added the scene to the build

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

ApplicationException & KeyNotFoundException 2 Answers

Get spammed by this error every time I want to build, why 1 Answer

Distribute terrain in zones 3 Answers

Upon Build, Game is not the same. 0 Answers

errors on IL2CPP build 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges