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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Build manifest example crashes on me

Discussion in 'Unity Build Automation' started by taxfromdk, Jul 28, 2015.

  1. taxfromdk

    taxfromdk

    Joined:
    Oct 30, 2009
    Posts:
    95
    Hi Guys,

    I am following the guide here: https://build.cloud.unity3d.com/support/guides/manifest

    The build manifest example is crashing on me, and after some debugging on an IOS device I have figured out it is related to the Json.Deserialize call.

    Does the code work for anyone else?
    What version of MiniJSON are you using?
    And can I possible lend a copy of your CloudBuildManifest.json file so I can debug locally?

    Kind regards

    Jesper
     
  2. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    You can check out the Build Manifest Demo. It worked properly for me on all supported devices. It includes a MiniJSON which you can compare in doubt. Please let me know if this helps. :)
     
  3. taxfromdk

    taxfromdk

    Joined:
    Oct 30, 2009
    Posts:
    95
    I cant seem to find a CloudBuildManifest.json in there?

    Jesper
     
  4. taxfromdk

    taxfromdk

    Joined:
    Oct 30, 2009
    Posts:
    95
    I need it for local testing.
     
  5. taxfromdk

    taxfromdk

    Joined:
    Oct 30, 2009
    Posts:
    95
    I ended up doing a postprocess script that uploaded it to my webserver.

    Here it is if anyone should be interested:

    {"cloudBuildTargetName":"default-ios","buildNumber":"15","scmCommitId":"1ced096a1b210a9fb16862c079a91b09c6cf06ce","scmBranch":"master","buildStartTime":"2015-07-29T12:05:35.000Z","projectId":"taxfromdk/hest","bundleId":"hest.com.dflcloudbuild","xcodeVersion":"6.3.1","unityVersion":"5.1.2f1"}
     
    oana_hia and David-Berger like this.
  6. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    The CloudBuildManifest.json is only injected during a Cloud Build. If you want to use if offline, I can recommend a very neat API made for uTomate which is available on github here.
     
  7. taxfromdk

    taxfromdk

    Joined:
    Oct 30, 2009
    Posts:
    95
    I was debugging the parsing of the file remotely with a turnaround time of more than an hour. So I needed to be able to run it locally.

    My project had a different flavor of MiniJSON that caused the issue.

    Thanx for the help.
     
    David-Berger likes this.