UCB Android Player export failed

Hi there! Since Unity 5.6 I’ve been having trouble building for Android. I can build and run successfully on my local machine but now luck in the cloud. Below is the error I get.

2550: [Unity] at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0
2551: [Unity] at UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure) [0x00000] in :0
2552: [Unity] Player export failed. Reason: 2 errors
2553: ! build of ‘default-android’ failed. compile failed
2554: publishing finished successfully.
2555: Finished: FAILURE

Anyone else experienced these and is there any workaround?

Unity version: 5.6
Source control: GitHub
Local build platform: Windows 10
Build target: Android
Relevant plugins being used: GameSparks, Cross Platform Native Plugins - Ultra Pack, Facebook
Project name: #Alpha
Builds from a new cloned directory

well I guess some magic happened on the backend because my builds started working and I didnt update anything android specific. Thank you Unity Cloud Build Gods!

1 Like