- Home /
Bizarre Missing Assembly 'Common' Error
Hi, recently I've merged with VCS our project with a coworker, who i think added Unity IAP for iOS (since he has a Mac) to our game, and since then i've been getting weird assembly error each time I change a scene, it lets me play the game in the Editor, but does not let me compile an .apk for Android.
FileNotFoundException: Could not load file or assembly 'Common, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
UnityEngine.Purchasing.UnityPurchasingEditor.<UnityPurchasingEditor>m__0 () (at <6c548948af5a461b93ba50e09e548bbd>:0)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:118)
Also sometimes these errors on random (I don't know if they are connected, but seems to include something with purchases as well
Unloading broken assembly Assets/Plugins/UnityPurchasing/Bin/Apple/Apple.dll, this assembly can cause crashes in the runtime
Unloading broken assembly Assets/Plugins/UnityPurchasing/Bin/Tizen/Tizen.dll, this assembly can cause crashes in the runtime
ExecutionEngineException: MonoError reused after mono_error_cleanup
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:406)
UnityEditor.AssemblyHelper.GetTypesFromAssembly (System.Reflection.Assembly assembly) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:333)
UnityEditor.EditorAssemblies.ProcessInitializeOnLoadAttributes () (at C:/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:157)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
Very weird problems that I can't find answers to and not much that i understand to be honest. I tried removing Plugins/UnityPurchasing, but of course we need it to make the iOS purchasing part work. i also set .NET 2 (not subnet) in PlayerSettings, also reimports, recloning projects etc. nothing helped. Any ideas guyz?