Hello,
We migrated to Diagnostics from Cloud Diagnostics sometime ago. Now the challenge is to get symbol files uploaded to the diagnostic service. For us its enough that release builds and builds that actually end up public tests have symbols uploaded. We do the submits by CI machine and its nice the Unity has topic on this subject here.
There are many problems with the approach though and state of the diagnostics service which by far is most important cloud services that Unity can actually provide.
Criticisms which explains the question:
- Its very difficult to find right document page because naming “Diagnostics” vs “Cloud Diagnostics” it also somewhat breaks search engines as "Diagnostics is included in the deprecated “Cloud Diagnostics”.
- As found in the earlier document of the CI flow the script actually uses /cloud-diagnostics/ REST API call. Which does not make 1) any easier.
- usymtool is only provided in sh for linux. In my case I need to integrate this to python script. There are problematic approaches like sharing the auth token as environment variable which is also security mistreatment.
- Depending on platform the usymtool binary is used on iOS in build directory and in android Unity directory and there are several binaries. Please only one common tool that handles all!
- Weirdly the sh script is not downloaded from the CI document but from under unity services page which requires authentication. This could be explained with if the page included project ids etc directly to the script but it doesnt.
- Service account configuration isnt self explanatory. There are different priviledge levels for whole organization and project which have different rules. Auth tokens are referred as"keys".
- In services menu you can find the “Observation” stuff under LiveOps. In this site you cant access diagnostics tags within liveops and the site and you cant include the tags to liveops which obviously are under liveops but its in DevOps.
- In the forum you cant make topic without editor version even you are speaking of services and REST API that is not related to editor.
As described the Diagnostics service is really a mess and I wonder how it can be like this because this is really one of the most important cloud features!!!
Questions:
a) usymtool.sh that is provided in the services portal and that is referred in the document. Can it be written in python fully (also the bit usymtool binary). Does any solution exists for that?
b) This seems rather perfect use case for Unity CLI does such solution exists?
Thanks and sorry for the rant but the quality is Unity is dropping and its really frustrating.