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

Question How can I disable "Uploading symbols to Performance Reporting service"?

Discussion in 'Editor & General Support' started by Peter77, Dec 1, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,438
    Every time I build an Android player, Unity displays "Uploading symbols to Performance Reporting service" and I have to wait an eternity.

    I'm not even signed-in with my account in the editor, yet Unity is still uploading it. Where it's uploading the symbols? No idea!

    How can I disable it? I'm using Unity 2018.4.27f1.

    upload_2020-12-1_14-45-21.png
     
    Last edited: Dec 1, 2020
  2. kendrick_unity

    kendrick_unity

    Joined:
    Apr 14, 2021
    Posts:
    4
  3. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,797
    The following works in Unity 2021.2
    Open Project Settings -> Cloud Diagnostics
    Make sure the 'Crashes and Exceptions' section is turned off.

    upload_2022-4-17_17-4-3.png
     
    Peter77 likes this.
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,438
    Thank you for the info!

    Unity should make this at least two options:
    1. To toggle Cloud Diagnostics in a Player. I assume that's the option you highlighted.
    2. To toggle "Performance Reporting Symbol Upload" in the Editor.

    I want to enable Cloud Diagnostics in a Player, but I don't want Unity to upload the symbols file with every local test build I create.
     
  5. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    210
    exactly
     
  6. drzepa

    drzepa

    Joined:
    Jul 23, 2021
    Posts:
    3
    Yep very frustrating, considering the symbols upload doesn't even seem to work for symbolicating crash stack traces...
     
  7. ltomov

    ltomov

    Joined:
    Aug 3, 2017
    Posts:
    95
    Is there a way to turn this on and off via C# code?
     
    bitsofbas likes this.
  8. leni8ec

    leni8ec

    Joined:
    May 23, 2013
    Posts:
    20
    Any solution to disable it for not release builds?
     
  9. LordMortis

    LordMortis

    Joined:
    Jan 25, 2014
    Posts:
    26
    I'd be interested to know if this can be enabled/disabled via C# in a build script as well
     
    jzy64 and bitsofbas like this.
  10. bitsofbas

    bitsofbas

    Joined:
    Mar 3, 2015
    Posts:
    2
    This sometimes adds 10 minutes to my build time. Ugh! I'd really like to be able to control this from code too!
     
  11. RaventurnPatrick

    RaventurnPatrick

    Joined:
    Aug 9, 2011
    Posts:
    165
    Sometimes the upload gets stuck especially on the Untiy 2021LTS Mac Silicon Version or takes for a very long time. Can we please make this process separate (i.e. upload the symbols after the build was deployed on the device?)
     
  12. Tulrath

    Tulrath

    Joined:
    Feb 1, 2015
    Posts:
    13
    ...and now Project Settings doesn't even have a Services --> Cloud Diagnostics. It just has the top-level Services link. When I follow that to the Dashboard online, there doesn't appear to be anywhere to modify Cloud Diagnostics.

    Does anyone know how to turn this off now (Unity version 2022.3.2f1) ? It takes (by far) the most time during an Android build - at least 45% of total build time :/
     
  13. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    536
    same problem here, 10 minutes and waiting for this feature i dont even use. Frustrating
     
  14. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    536
    Try going into your Project's ProjectSettings folder, opening UnityConnectSettings.asset, then check if Enabled is set to 1 under CrashReportingSettings. If it's 1 then try setting it to 0, saving, and trying to build again.

    Suspiciously the dialog disappeared but spent like 5 minutes doing more than usual building the gradle....
     
    AminMoazzen likes this.