Cloud build fails with Prime31 plugin

Hi,

Im new to cloudbuild so I might be getting something wrong I currently using the free plan of CloudBuild. Is it possible to use plugins with this plan ? If so I am getting build error when using Prime 31 plugin Android Etcetera.

It works fine when building from editor and I am using the newest Unity version 5.2.

Throws this error :

tar: Error exit delayed from previous errors.
2: [Unity] Initialize engine version: 5.2.0f3 (e7947df39b5c)
3: [Unity] -----CompilerOutput:-stdout–exitcode: 1–compilationhadfailure: True–outfile: Temp/Assembly-CSharp-firstpass.dll
4: [Unity] Compilation failed: 1 error(s), 0 warnings
5: [Unity] Assets/Plugins/EtceteraAndroid/EtceteraAndroidManager.cs(11,47): error CS0246: The type or namespace name AbstractManager' could not be found. Are you missing a using directive or an assembly reference? 6: [Unity] Assets/Plugins/EtceteraAndroid/EtceteraAndroidManager.cs(11,47): error CS0246: The type or namespace name AbstractManager’ could not be found. Are you missing a using directive or an assembly reference?
7: [Unity] Scripts have compiler errors.
8: [Unity] Scripts have compiler errors.
9: [Unity] Initialize engine version: 5.2.0f3 (e7947df39b5c)
10: [Unity] -----CompilerOutput:-stdout–exitcode: 1–compilationhadfailure: True–outfile: Temp/Assembly-CSharp-firstpass.dll
11: [Unity] Compilation failed: 1 error(s), 0 warnings
12: [Unity] Assets/Plugins/EtceteraAndroid/EtceteraAndroidManager.cs(11,47): error CS0246: The type or namespace name AbstractManager' could not be found. Are you missing a using directive or an assembly reference? 13: [Unity] Assets/Plugins/EtceteraAndroid/EtceteraAndroidManager.cs(11,47): error CS0246: The type or namespace name AbstractManager’ could not be found. Are you missing a using directive or an assembly reference?
14: [Unity] Scripts have compiler errors.
15: [Unity] Scripts have compiler errors.
16: ! build of ‘default-android’ failed. compile failed
17: Finished: FAILURE
Status: FAILED

Jakob,

I haven’t encountered that specific plug-in before. Not all plug-ins are engineered in a Cloud Build friendly manner, as some plug-ins have their own build pipeline that makes assumptions about how and where a build is made. To see if your project can compile in Cloud Build, try compiling your project from the command-line on your own computer.

There’s an example how to do this here: Unity - Manual: Command-line arguments

Let us know what you find!

Cheers,
Patrick

Tha

Thanks for the quick reply. I tried doing a commandline build for android and it works on my computer so I dont know why it wont work on the Cloudbuild. Also tried to build for iOS using cloudbuild and I did get the same error even that the plugin is specific for android. So it seems to be something with the plugin (Etcetera plugin from Prime31).

Im going to remove the plugin and try to make a new cloud build just to see if it is specific to that plugin.

It is clearly the plugin that fails the build I removed it and both the android and iOS build worked.