- Home /
I got error while building the project.
I am newbie to unity and I just created a game for android in Unity 2018.4.25f1, but when I added admob to it I was unable to build. I got errors like "UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179) " and "UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)". I tried everything to fix this but nothing helped. I also tried thing like shifting to Unity 2019.4, changing location of build, using unity ads instead of google admob, etc. The link from which I followed to add ads - https://www.youtube.com/watch?v=fGMFHN3gXpY . I dont know if it is problem of ads or not but I got this error after addinig ads. I would appreciate some help:).
Answer by dhruv_mv · Aug 27, 2020 at 04:23 AM
edit - I solved my problem by making changes in manifest.json script
I'm having the same error. Could you share what you did in that json file that fixed it?
Thanks