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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
1
Question by Patrick Manson · Dec 29, 2010 at 09:21 AM · errorbuildgamedllcompile-error

Can't export game

I just made a game in unity, but when I go build, select windows and hit "build and run" it almost goes all the way through, but then stops to say in the console "extracting reference dlls failed".

Can someone please help, I really want to play my game...

I reinstalled it but it still says the same thing, it says this

This is the first error.

ArgumentException: The Assembly UnityEditor is referenced by 606e17bffcf594705a9f421d92daeaf4. But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 cache) (at E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/AssemblyHelper.cs:52) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch) (at E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/AssemblyHelper.cs:86) UnityEditor.HostView:OnGUI()

And this is the second -

Error building Player: Extracting referenced dlls failed. UnityEditor.HostView:OnGUI()

Please help I can't really do much without knowing whats wrong.

Bumped four times!!!!! Please help!

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Meltdown · Dec 29, 2010 at 12:23 PM

I would suggest re-installing Unity. That doesn't sound right. Also make sure your game was created in a new project.

If you referenced any third party packages or DLL's you may want to try re-importing them just to make sure everything is referenced correctly.

Comment
Add comment · Show 2 · 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
avatar image Patrick Manson · Dec 30, 2010 at 12:00 AM 0
Share

I edited it with the detailed compiler errors, I tried to reinstall it but it still is the same,

avatar image alexsan75 · Jan 17, 2011 at 08:32 PM 0
Share

You can try to change API Compatibility Level: to .Net 2.0 Choose Edit->Project Settings->Player, then follow this link to find settings: http://unity3d.com/support/documentation/Components/class-PlayerSettings.html

Helped me with building..

avatar image
1

Answer by biogeek · Jun 29, 2012 at 09:24 PM

If you go to Edit>Project Settings>Player and then change the API Compatibility Level from .Net 2.0 Subset to .Net 2.0 that might fix it. I got the same error on Build because of a third-party plugin DLL and this fixed it.

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
avatar image
0

Answer by Shade · Jan 03, 2011 at 09:05 AM

Look for third-party packages and DLL's. I had the same problem because I had the Path library in my Assets folder (even though it was not being referenced) and it got fixed once I removed it. Apparently it was trying to import the editor API for the final build. Not sure what the proper way to fix it is -- maybe a compiler property that would avoid importing the editor, akin to the way #define's work in other languages...?

Comment
Add comment · Show 1 · 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
avatar image Patrick Manson · Jan 11, 2011 at 12:34 AM 0
Share

Do I try to find third party packages and DLLs and romove them? Sorry I coudn't follow ^^;

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

2 People are following this question.

avatar image avatar image

Related Questions

Failed to load mono 1 Answer

.DLL can't build for Windows Standalone. 0 Answers

Error Building Player: Extracting dlls 1 Answer

Game Crashes On Startup? 3 Answers

Need some helps 2 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