I have searched everywhere but I cannot find the solution to fix this. I made a simple test project to test out using AR on my Android phone but each time I click "build and run" I get this error:
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <44a70d1b13cf47e29810e30f45ffae08>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <44a70d1b13cf47e29810e30f45ffae08>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
I am using Unity 2021.3.6f1, no errors with my code, my phone is connected to my computer using a USB in developer mode and "USB Debugging" enabled. I also have the Android SDK installed in my project as well.
↧