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 pateras · Sep 22, 2013 at 01:08 AM · dlldllnotfoundexception

Every time I re-open Unity, I have to rebuild one of my external DLLs

I have a DLL that I'm including in my Unity project. Every time I re-open Unity, though, I get the following error:

FileNotFoundException: Could not load file or assembly 'DataCommon, Version=1.0.5012.34874, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

DataCommon.dll is exactly where Unity thinks it is ("Show in Explorer" even works properly), I can see it right now. If I rebuild DataCommon and overwrite the DLL, the error will go away and everything will work properly, but if I then close Unity and re-open it, I'll get the error again.

What might cause behavior like this? I'm not really sure how to address this. Nothing looks out of place, and as I said if I just rebuild the DLL (copying over the same copy doesn't work, it's like it needs to increment the file's updated time), there are no problems.

I've tried updating to the latest version of Unity Pro (4.2.1f4, previously 4.2.0), but that didn't help. I'm running Windows 7, 64-bit, and the DLL in question is targeting .net 3.5.

I appreciate any help or suggestions.

Comment
Add comment · Show 2
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 TrickyHandz · Sep 22, 2013 at 01:46 AM 0
Share

The problem is most likely the fact that the DLL is built using .net 4.0. Try building as .net 3.5 and see if that works.

avatar image Fattie · Sep 30, 2013 at 06:11 AM 0
Share

HELLO THERE @pateras ... can we help any more on this? Please tick an answer to close the question

0 Replies

· Add your reply
  • Sort: 

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

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

Related Questions

DllNotFoundException in Mac Editor; Not Build, Not Windows 0 Answers

Error building Player: Extracting referenced dlls failed. 1 Answer

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

DllNotFound Exception on Editor but works on Standalone 0 Answers

OpenSSL-net DllNotFoundException: Assets/Plugins/OpenSSL/libeay32.dll 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