i have project with game performance and analytics usage.
this project has 2 distinct project on unity cloud.
cloud build take it on 2 different branch of the same repositories (dev and prod) to build 2 different projects but with the same base code.
i have pre build and post build script to do some task to change parameters on projects.
but i don’t find how to change upid automatically to having distinct project at unity cloud concerning game performance and analytics, when i try to hack project settings with some regex to replace upid at prebuild phase, it’s not working and errors are raised toward dev cloud project in place of prod cloud project.
I’m not sure I understand why this is necessary. Why not just configure both projects in Cloud Build to point to the same repo (just setup with those two separate branches)?
this is exactly what is done.
but dev branch must be mergeable in prod branch, and if i do that i lose prod’s upid because of merge.
so if i want to do that in that way i must ignore merge for projectsettings.asset but this file contain a lot of other settings i could change, and becoming not mergeable in this case (so, in this case i must reproduce all changes on this file manually on other branch(s))
this is why i do settings change with a pre export build script, it’s more convenient and manageable for production pipe
but it’s seem not feasible to change upid on the fly through pre export script on cloud build ?