When building a project on Android, the build fails with errors Code (CSharp): Exception: ExtractAssemblyTypeInfo: Failed to process Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll, System.MissingMethodException: Method 'Unity.SerializationLogic.TypeResolver..ctor' not found. at UnityEditor.AssemblyHelper.ExtractAssemblyTypeInfo (UnityEditor.BuildTarget targetPlatform, System.Boolean isEditor, System.String assemblyPathName, System.String[] searchDirs) [0x00055] in C:\buildslave\unity\build\Editor\Mono\AssemblyHelper.cs:333 UnityEditor.AssemblyHelper.ExtractAssemblyTypeInfo (UnityEditor.BuildTarget targetPlatform, System.Boolean isEditor, System.String assemblyPathName, System.String[] searchDirs) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:344) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Error building player because script class layout might be incompatible between the editor and the player. Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Building on iOS passes without problems. What can be wrong? Unity 2017.2 Scripting Runtime Version: Experimental(.NET 4.6 Equivalent) Scripting Backed: Mono Api Compatibility Level: .NET 4.6
Hm interesting. I'm also using 2017.2 to make Android builds and had no problems. The one thing I haven't done is set API compatibility to .Net 4.6. Is temporarily switching it to 3.5 an option to see if this error goes away?
Whats up with this class? Ideally I use dotnet 2.0. Maybe those fancy classes are creating conflicts with .NET and android.
For teste im trying export an default empty project and have the same error, its not the code, its this fu.. trash update, in my home machine i can export on work cant, now im scared to migrate my projects from work to home bcouse this bug likeli virus, im try export to other machine in work (these machine export apk widouth problem before, after migrate the same but bug apear! Hei devz what you do, go us to unreal???