Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug scmCommitId is not being set correctly in the Unity Cloud Build manifest duing the build.

Discussion in 'Unity Build Automation' started by dirty-rectangle, May 18, 2023.

  1. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    78
    Seen on iOS (we only build iOS)
    VersionControl Perforce


    Before and After build log comparison for manifest generation


    Code (CSharp):
    1. Before:
    2. [2023-05-17T03:39:18Z - Unity] {"cloudBuildTargetName":"ios","buildNumber":2209,"scmCommitId":"201429","buildStartTime":"2023-05-16 20:19:57 -0700","projectId":"xxxx","bundleId":"xxxx","scmBranch":null,"xcodeVersion":"14.1","unityVersion":"2021.3.22f1"}
    3. [2023-05-17T03:39:18Z - Unity] Creating Build Manifest text asset at Assets/__UnityCloud__/Resources/UnityCloudBuildManifest.json.txt
    4. [
    5.  
    6. After:
    7. [2023-05-18T03:38:27Z - Unity] {"cloudBuildTargetName":"ios","buildNumber":2211,"scmCommitId":null,"buildStartTime":"2023-05-17 20:22:34 -0700","projectId":"xxxx","bundleId":"xxxx","scmCommitId":null,"xcodeVersion":"14.1","unityVersion":"2021.3.22f1"}

    The timing for this issue starting appears to correlate with a UCB service update made yesterday

    Created an endpoint that returns the SDK values that the Unity Version can be configured for
    2023-05-17 17:49:04
    Added support for publishing visual studio solution files, added support for non-english branch names, updated CCD version to 11.15, general refactorings and stability improvements
    2023-05-17 17:48:54


    Although these builds are not failing, they cannot be uploaded to the app store due to incorrect versioning.
     
  2. UnityPeterD

    UnityPeterD

    Unity Technologies

    Joined:
    Nov 5, 2019
    Posts:
    46
    Hi @dirty-rectangle ,

    Thank you for the detailed information and for letting us know! A hotfix has been released for this issue as of yesterday evening. Please let us know if this is persisting.

    Kind Regards,
    Peter D
    Senior Unity Service Support Developer
     
  3. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    78

    Hi @UnityPeterD
    Thank you, we are still seeing this issue on-going - most recently in a build which completed 30 mins ago.
    All our iOS builds from today still have this issue.
    I've tried clean builds to see if it was a caching issue but that didn't resolve it.
    We have been running two separate build automation projects today and both are having this issue.