x


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!

more ▼

asked Dec 29 '10 at 09:21 AM

Patrick Manson gravatar image

Patrick Manson
39 2 2 7

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

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.

more ▼

answered Jun 29 '12 at 09:24 PM

biogeek gravatar image

biogeek
15

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Dec 29 '10 at 12:23 PM

Meltdown gravatar image

Meltdown
5.6k 18 25 49

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

Dec 30 '10 at 12:00 AM Patrick Manson

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..

Jan 17 '11 at 08:32 PM alexsan75
(comments are locked)
10|3000 characters needed characters left

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...?

more ▼

answered Jan 03 '11 at 09:05 AM

Shade gravatar image

Shade
1 2

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

Jan 11 '11 at 12:34 AM Patrick Manson
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1949
x798
x660
x231
x44

asked: Dec 29 '10 at 09:21 AM

Seen: 2449 times

Last Updated: Jun 29 '12 at 09:24 PM