Search Unity

Setting cloud project ID at build time?

Discussion in 'Unity Cloud Diagnostics' started by MDuffy, Jan 8, 2019.

  1. MDuffy

    MDuffy

    Joined:
    Jul 19, 2013
    Posts:
    2
    Is there any way to set the ID/App for Cloud Diagnostics at build time? We build multiple projects (reskins) to multiple platforms (Android, iOS), and have a separate app identifier for each combination. Ideally we need to set this as a scripted pre-process before we launch the build. We are building from the command line with a Jenkins build server, so modifying the app associate with the GUI before each build is not workable.

    Any thoughts on a solution? Can we set the Unity Project ID from a script?

    Thanks!
     
  2. bretth_unity

    bretth_unity

    Joined:
    Dec 1, 2016
    Posts:
    38
    Are you specifically referring to Crashes and Exceptions or User Reporting?
     
  3. MDuffy

    MDuffy

    Joined:
    Jul 19, 2013
    Posts:
    2
    Right now I'm interested in the Crashes and Exceptions. We use our own system for user bug reporting.

    Thanks!
     
  4. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    78
    For UCB i am using the Advanded Options Pre-Build Script to do a find and replace of the cloudBuild in the ProjectSettings/ProjectSettings.asset file