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 :0
at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0
at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0
at Mono.CSharp.Driver.Compile () [0x00000] in :0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :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
↧