- Home /
Are my SQLite .dll locations causing a Unity 5 build compile error?
I've been building a game in Unity that utilizes SQLite. I had a little bit of trouble converting everything to Unity 5 and honestly I feel pretty lucky that I even got my DBs back to normal after I upgraded. Anyway, I continued to make my game in the editor until recently when I tried to build a test version of the game. The build fails and gives me the following errors.
Error building Player because scripts had compiler errors
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0
at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0
at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
I have no idea what these codes mean. After rooting around the internet I saw some people with similar (but outdated issues) mention that the error had something to do with the .dll files I had in my project. The only ones I have (that I know of) are the ones that I need for my SQLite stuff. Currently, those files live in Assets/Plugins because that's the setup various internet sources cited and it actually works.
Does anyone know if I need to move my SQLite .dll files somewhere else or what the heck this error code means? Any help would be appreciated as I'm due to present this project in a few days and now can't seem to get a working build up.
Thanks in advance, Ben
Your answer
![](https://koobas.hobune.stream/wayback/20220613194345im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Unity3d c# load or fill dataTable from sqLite local DataBase Error: sqlite3_column_Origin_name 0 Answers
Why does SQLite throw InvalidOperationException in Unity 5.3? 1 Answer
Unity3d c# load or fill dataTable from sqLite local DataBase Error: sqlite3_column_Origin_name 0 Answers
Multiple Cars not working 1 Answer