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
0
Question by michael 4 · May 17, 2011 at 09:47 PM · errorbuild-errordllcompiler-error

Error building Player: Extracting referenced dlls failed.

I added some DLLs to my assets/plugins folder and I use them in my code.

The code works fine and the DLLs work when I play the game inside the editor.

But as soon as I compile the build into a standalone version I get this error

Error building Player: Extracting referenced dlls failed.

anyone have an idea on how to fix that.

The DLLs are only compatible for windows, but that is ok because Its for a special purpose program that will only ever be run on a windows platform.

I am building it with the target platform being windows.

Comment
Add comment · Show 1
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 ViragBrahme · Oct 07, 2014 at 07:01 AM 0
Share

I am also facing the same issue got error after changing the compatibility from ".net 2.0 subset" to ".net 2.0" Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly '$$anonymous$$ono.Data.Tds'.

8 Replies

· Add your reply
  • Sort: 
avatar image
13
Best Answer

Answer by michael 4 · May 17, 2011 at 11:58 PM

turns out Edit > Project Settings > Player > Optimization

change compatibility from ".net 2.0 subset" to ".net 2.0"

Comment
Add comment · Show 3 · 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 XaeroDegreaz · Sep 25, 2013 at 05:38 AM 0
Share

Thank you. I had this issue while trying to use System.Data for $$anonymous$$ono.Data.Sqlite.

avatar image Balaji_N · Oct 07, 2014 at 07:09 AM 0
Share

I am also facing the same issue got error after changing the compatibility from ".net 2.0 subset" to ".net 2.0" Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly '$$anonymous$$ono.Data.Tds'.

avatar image vuwij · Jul 18, 2015 at 04:57 AM 0
Share

Thank you God I had the same problem as XaeroDegreaz. You truly are a hero

avatar image
1

Answer by Mike 3 · May 17, 2011 at 09:53 PM

Very often if you're playing right before building, it'll lock the dlls, making it difficult to move them into the build.

If that happens, just relaunch unity and build again, without hitting play

Comment
Add comment · Show 3 · 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 michael 4 · May 17, 2011 at 10:20 PM 0
Share

Thanks for the reply, but unfortuantly I'm am still getting the error, I even tried restarting my computer and immediately trying to build.

avatar image michael 4 · May 17, 2011 at 11:21 PM 0
Share

maby there is another reason that might happen?

avatar image techshaman · Aug 07, 2012 at 04:22 AM 0
Share

I am having this issue but I am already set to .net 2.0

Any other suggestions?

avatar image
1

Answer by landskron · Sep 19, 2013 at 11:30 PM

Perfect! Changing ".net 2.0 subset" to ".net 2.0" in Edit > Project Settings > Player > Optimization.

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 Kehos · Aug 14, 2012 at 07:51 PM

I have the same problem, I added the Database dll's and it doesn't build and say me the same error when I try to build.

I have set the compatibility to ".net 2.0" too

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 laghziltarek · Jan 06, 2015 at 11:56 AM

Perfect! Changing ".net 2.0 subset" to ".net 2.0" in Edit > Project Settings > Player > Optimization. but i've this error after Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly 'Mono.Data.Tds'.

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 tanoshimi · Jan 06, 2015 at 11:57 AM 0
Share

If only the error message told you the problem, and the solution...

  • 1
  • 2
  • ›

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

10 People are following this question.

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

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Need some helps 2 Answers

When I build my game it gives me this error 'Assets/Builds/Build_0.01_Data/Managed/Assembly-CSharp.dll' shouldn't be queried by IsAssemblyCompatible, missing IsInternalOrCompiledAssembly check ? 2 Answers

Help, i can't build my game..! 1 Answer

How to solve this error related to facebook SDK ... its complicated 1 Answer


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