Build manifest example crashes on me

Hi Guys,

I am following the guide here: Unity ID

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

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. :slight_smile:

I cant seem to find a CloudBuildManifest.json in there?

Jesper

I need it for local testing.

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”}

2 Likes

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.

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.

1 Like