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 icepanda · Nov 07, 2011 at 02:39 AM · c#errordllsqlite

Unity3d 3.4.1 sqlite bulid error

I find system.data.dll from the monodevelop folds

and run it, no issue

but when I build it,

it show:

ArgumentException: The Assembly System.Configuration is referenced by System.Data. But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) UnityEditor.AssemblyHelper.FindAssembliesReference dBy (System.String[] paths, System.String[] foldersToSearch) UnityEditor.HostView:OnGUI()

how to fix it

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
0

Answer by Jehos · Nov 07, 2011 at 10:51 AM

What import (or using) do you use to include sqlite?

Are you using any code stripping?

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 icepanda · Nov 07, 2011 at 04:33 PM 0
Share

I put system.Data and $$anonymous$$ono.Data.SqliteClient in my folder. In my c# script, I write : using System.Data; using $$anonymous$$ono.Data.SqliteClient; and do not use code stripping

avatar image
0

Answer by Graham-Dunnett · Nov 07, 2011 at 04:57 PM

Copy System.Configuration.dll into the Unity project. That's what the error message is saying is missing. (If you have already done this, then the error message means that this DLL is not allowed to be used in a Unity project, so you're out of luck.)

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 dabears · Feb 24, 2015 at 05:59 PM 0
Share

I have tried your suggestion with no luck. this seems to be indicative (at least for me) of trying to build for Android. Is that possible [using system.data and $$anonymous$$ono.Data.SqliteClient] on Android (fyi this is all for an implementation of sqlite)?

avatar image
0

Answer by dabears · Feb 26, 2015 at 09:59 PM

Probably not the best solution but its what I did to fix the problem

At first I tried the free route which uses System.Data and Mono.Data.SqliteClient

However that is what lead me to this post and the error above.

Trying to spend the least amount of time trying to fix the error, I tried the paid solution.

However after following the readme I still had the above errors. It wasnt until I cleared out the plugins directory that it worked.

Im still hoping the free version works. And I have asked in the comments above, but even still it probably should be its own question. FYI this is specifically for building. Regular "playing" of the scene worked fine.

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

6 People are following this question.

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

Related Questions

Connecting external application (e.g. Notepad) to Unity 0 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

Multiple Cars not working 1 Answer

How do I; when building, make Unity ignore .net asembly referencing the UnityEditor assembly ? 1 Answer

Importing C++/CLI DLL causes errors 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