- Home /
problem when building with web player
hi guys,
am a begineer to unity.Am trying to build my scene (DATABASE : SQLite3) with my database, when am building my project into web player, its showing some kind of horrible errors like,
Error building Player: Extracting referenced dlls failed. UnityEditor.HostView:OnGUI()
ArgumentException: The Assembly System.Configuration.Install is referenced by MySql.Data. But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List
1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary
2 cache) (at E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/AssemblyHelper.cs:52) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch) (at E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/AssemblyHelper.cs:86) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
please can any one say the remedy for this....?
thank you guys.
Answer by sriram90 · Nov 02, 2010 at 02:50 PM
Hi guys,
No worries ,suddenly i have found the answer for it.
In PlayerSettings, try setting your .net compatibility level to "2.0".
We default to 2.0 subset in Unity3, which excludes a lot of stuff not very related to game development, and which will allow us in the future to make your games smaller.
thats worked for me.try it if you got same problem in future. thanks all.its only for standalone,not for webplayer.