So, I am creating a 2D plat-former and whenever I try building my game to my Android phone, I get a compiler error that is indecipherable to me. I have put the error message into the Google search bar, and I tried solutions on other forums, but to no success. I tried building on internal and gradle (numerous times), but with the same outcome.
I don’t know what to do. Any help is great.
Here is the error message.
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88
PGJ1
April 19, 2018, 11:06am
2
You’ll probably get a better answer in the Android subforum. Are you using the correct version of the Android build tools?
Yes.
Also, I posted in the Android forum, but received mo replies. That’s why I am trying over here.
spryx
April 20, 2018, 11:26am
4
MiloRoban:
So, I am creating a 2D plat-former and whenever I try building my game to my Android phone, I get a compiler error that is indecipherable to me. I have put the error message into the Google search bar, and I tried solutions on other forums, but to no success. I tried building on internal and gradle (numerous times), but with the same outcome.
I don’t know what to do. Any help is great.
Here is the error message.
(Boolean askForBuildLocation, BuildOptions defaultBuildOptions)
Looks like an issue with the build location, maybe security setting or something. Can you try building somewhere else?
Make sure you have permissions to access that folder within unity. Are you actually trying to build the game directly on the phone?.. If so, try building on your computer and moving it to the phone.
Might also help if you provide target platform and/ or what version of Unity you are using.
spryx:
(Boolean askForBuildLocation, BuildOptions defaultBuildOptions)
Looks like an issue with the build location, maybe security setting or something. Can you try building somewhere else?
Make sure you have permissions to access that folder within unity. Are you actually trying to build the game directly on the phone?.. If so, try building on your computer and moving it to the phone.
Might also help if you provide target platform and/ or what version of Unity you are using.
I tried building in two different locations, all ended in failure.
I tried building it directly to my phone and on my computer, both failed with the same error message.
The platform I am targeting is Android,
And I am using Unity 3.1.
spryx:
(Boolean askForBuildLocation, BuildOptions defaultBuildOptions)
Looks like an issue with the build location, maybe security setting or something. Can you try building somewhere else?
Make sure you have permissions to access that folder within unity. Are you actually trying to build the game directly on the phone?.. If so, try building on your computer and moving it to the phone.
Might also help if you provide target platform and/ or what version of Unity you are using.
Do you think you know what the issue could potentially be?
spryx
April 21, 2018, 8:25pm
7
At this point no. Maybe try using a newer version? Unity 3.1 is ancient
I will try updating. I will get back to you with the results.
It says 2017.3.1 is the latest one. could you possibly provide a link?
Figured it out! Consider this thread closed. Thanks you all for your help! And those looking up the dreaded error message, I just updated my unity!!