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

5.4.0b22 Questions on performance reporting for WebGL

Discussion in 'Unity Cloud Diagnostics' started by fastgamedev, Jun 25, 2016.

  1. fastgamedev

    fastgamedev

    Joined:
    Mar 27, 2014
    Posts:
    79
    First of all, thank you for implementing performance reporting, it's a very useful feature.

    I have some questions about it (using 5.4.0b22):

    1. Do exceptions in the Editor get reported?
    2. What does “client exits the game” mean for WebGL apps?
    3. Is there a way to manually trigger data flush to the server?
     
  2. ChrisLundquist

    ChrisLundquist

    Unity Technologies

    Joined:
    Mar 2, 2015
    Posts:
    55
    Yes, editor exceptions get reported.

    "client exits the game" isn't reliable for WebGL, as it would be when they close the browser or tab.
    While the service does support WebGL, I would very much call this preliminary or experimental support as there are a few "gotchyas"

    If the feature was enabled, setting `CrashReportingSettings.enabled = false` should cause any existing data to be flushed.
    Likewise, you can re-enable it at run time by setting it to true.

    Hope this helps,
    Chris Lundquist