- My game builds fine locally, but it fails in Unity Cloud Build.
There are a number of reasons why this could happen, but the most common cause is not adding all your files to your source control.
Sometimes, your source control won't have all the files that your local machine has. First, you should check if it builds locally from a fresh checkout by doing the following:
- Clone/checkout your project into a new directory from source control.
- Open the Unity project in the same version of the Editor that you are trying to build with in Cloud Build.
- Build a version of your project for the same platform you are targeting in Cloud Build.
- Verify that the errors received in your Cloud Build log are not apparent during this local build.
If it still looks fine locally, try doing a clean build from the dashboard (see below):
Be sure to keep an eye on our forums & the Unity Cloud Service Status page, where we post about current issues that could be affecting your builds.
You can find the list of Xcode versions supported by our team in the Unity Cloud Build documentation.
Article is closed for comments.