Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mark as fixed

Discussion in 'Unity Cloud Diagnostics' started by paradizIsCool, May 23, 2016.

  1. paradizIsCool

    paradizIsCool

    Joined:
    Jul 10, 2014
    Posts:
    178
    Hi,

    Can we mark a report as fixed for next version ?
    Can we filter by version/os... ?

    Thanks
     
  2. ChrisLundquist

    ChrisLundquist

    Unity Technologies

    Joined:
    Mar 2, 2015
    Posts:
    55
    Hey again ParadizIsCool,

    Yes, you can, but there is no UI for it at the moment.

    GET https://perf.cloud.unity3d.com/api/projects/<your project id>/crash_log?version=1.0

    Will give you JSON of your crashes. This is easiest to do using Chrome as it will send the needed auth headers.
    To auth from the command line with something like curl you can do:

    `curl -H "Authorization: Bearer <your connect token>" https://perf.cloud.unity3d.com/api/projects/<your project id>/crash_log?version=1.0`

    You can find your connect token using the chrome or firefox inspector going to Resource -> Cookies -> developer.cloud.unity3d.com or core.cloud.unity3d.com -> "connect_token" and taking the "Value" field.

    It is important to remember the token is almost the same as your username / password. That token can do anything you can do when you're logged in.

    PUT https://perf.cloud.unity3d.com/api/projects/<your project id>/crash_log/<crash id>
    with json of `{ "crash": { "ignored": true } }` will mark it ignored.

    If the above made sense, that's awesome. If it didn't, just know that we're working on it and that the backend is ready :)

    Hope this helps,
    Chris Lundquist
     
  3. paradizIsCool

    paradizIsCool

    Joined:
    Jul 10, 2014
    Posts:
    178
    That definitely make sense, thanks !

    Unfortunately it gave me an empty crash_log array when I have 10 pages on the web :)

    Founded, the parameter was bad, remove it and it works
    ?version=1.0
     
    Last edited: Jun 8, 2016