Version: 2019.4
Using the Unity Editor to configure Unity Cloud Build for Perforce
Building for iOS

Using the Unity Developer Dashboard to configure Unity Cloud Build for Plastic

Unity Cloud BuildA continuous integration service for Unity projects that automates the process of creating builds on Unity’s servers. More info
See in Glossary
supports projects stored in Plastic SCM repositories.

Note: This feature requires a subscription to Unity Teams Advanced.

This topic covers:

  • Configuring Plastic in the Dashboard
  • Setting up a target build platform

Configuring Plastic on the Dashboard

To configure Cloud Build to build your project from a Plastic repository:

  1. Sign in to the Unity Developer Dashboard.
  2. On the Projects page, select your project.
  3. In the dashboard Overview window, on the Cloud Build tile, click Open Cloud Build Dashboard.
  4. In the Build History window, click Set up Cloud Build.
  5. In the Source Control window, click the Manual tab.
  6. To connect to your repository, you must specify the URL to your Plastic server. In the SCM URL field, enter the URL of your Plastic server in either of the following formats:
    • Host:port (If you host your own Plastic server)
    • host@cloud (If you use Plastic Cloud Hosting)
  7. In the SCM Types drop-down menu, select Plastic SCM.
  8. Click Next: Access. When Cloud Build connects to the hosting site, it automatically detects whether your repository is public or private. If your repository is public, Cloud Build automatically connects to it and you can skip to Setting up a target build platform.
  9. On the Grant us access to your source control window:
    1. Enter the Username and Password for your Plastic SCM server.
    2. Select an Authentication Type from the dropdown.
  10. Select Next: Target Setup.

Setting up a target build platform

In the dashboard, on the New Build Target: Basic Info window:

  1. In the Target Label field, enter a name for the build.
  2. From the Repo drop-down menu, select the repository from which to build your project.
  3. From the Branch drop-down menu, select the branch from which to build your project.
  4. If the root folder of your repository doesn’t contain your assets and project settingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
    See in Glossary
    , in the Project Subfolder field, enter the URL of the folder that contains your assets and project settings.
  5. From the Unity Version drop-down menu, select the version of Unity with which to build the project. To have Cloud Build automatically detect your project’s most recent Unity version, enable Auto Detect Version. This requires your ProjectSettings/ProjectVersion.txt file to be checked into source control.
  6. If you do not want the project to automatically build whenever your repository is updated, disable the Auto-build toggle.
  7. If you are building for the iOSApple’s mobile operating system. More info
    See in Glossary
    or Android platforms:
  8. Click Next: Credentials.
  9. Enter the credentials and click Next: Build.
  10. For all other platforms, click Next: Build to complete the configuration and start the initial build.
Using the Unity Editor to configure Unity Cloud Build for Perforce
Building for iOS