Answer the question
In order to leave comments, you need to log in
I can't compile on Unity, how can I fix it?
It throws the following error
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <8004fcc221b54f98ba547350ea71d812>:0
at UnityEditor.BuildPlayerWindow.CallBuildOptionsBuildOptions, ask default UnityEditor.BuildPlayerWindow.CallBuildOptionsBuildOptions, ask default UnityEditor.BuildPlayerWindow.BuildOptionsBuildOptions ) [0x00080] in <8004fcc221b54f98ba547350ea71d812>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Answer the question
In order to leave comments, you need to log in
I solved this problem by installing JDK and Andriod SDK modules on the engine in Unity Hub
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question