Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Official Looking for participants to try Unity’s Bug Reporting (Alpha) service

Discussion in 'Unity Cloud Diagnostics' started by johng_unity, Dec 12, 2017.

  1. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    46
    Wouldn't it be better to run the Coroutine once (on Awake) and let it run each frame in a while loop? I imagine it would have better performance.
     
    MihaPro_CarX and dotsquid like this.
  2. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    46
    Have you considered making those two dlls open source? So that it's easier for everyone to debug any issues?

    Edit: I'm referring to Unity.Cloud.BugReporting.Client.dll and Unity.Cloud.BugReporting.Plugin.dll
     
    Last edited: May 23, 2018
  3. RDeluxe

    RDeluxe

    Joined:
    Sep 29, 2013
    Posts:
    86
    Seems reasonnable, it's just that right now I can't filter issues for which I have created a Jira task/gitlab issue. And that makes it impossible to correctly process new issues

    And aaaaaaaaaaaaaahhhh could Unity website please stop checking my authentification and bringing me back to the dashboard every 5 minutes ?!
     
    Last edited: May 24, 2018
    MihaPro_CarX and Mahgo like this.
  4. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    20
    The next SDK update will include better handling for exception events. In the meantime, you can grab the stack trace from the logMessageReceivedThreaded event and manually log it.

    Code (CSharp):
    1.             Application.logMessageReceivedThreaded += (logString, stackTrace, logType) =>
    2.             {
    3.                 // Manually log message using LogEvent()
    4.             };
     
  5. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    20
    There's nothing particularly special about those dlls, so it shouldn't be an issue. They're simply dlls because of how they're used internally. I'll add it to our list of work items.
     
  6. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    20
    You could definitely do this. The sample is written this way to make it easier for the developer to choose when update should be called. For example, not being updated while paused.

    In general, BugReportingScript is written as a simple way of getting started and isn't necessarily the most optimized solution.

    Would it be helpful to include a second helper that runs continuously?
     
  7. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    46
    You're probably better off wrapping the coroutine's contents in an if (boolean) then, and allowing the user to toggle that for that functionality.

    I think it's pretty important that it can run as lightweight as possible.
     
  8. Build-and-Run-Game-Studio

    Build-and-Run-Game-Studio

    Joined:
    Jul 24, 2014
    Posts:
    27
    My bug report page doesn't load anymore. Perhaps my team posted too many bugs +50?

    Is there a way to solve that? I've tried in different machines and browsers. Is there an API available like Cloud Build to manually delete Bug Reports?

    Thanks
     
  9. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    46
    When can we expect SDK updates?
     
  10. pavel_luden

    pavel_luden

    Joined:
    Apr 19, 2018
    Posts:
    1
    Hi! If a mobile game crashes on a device for some reason (because out of memory or stack overflow) I want to collect and send bug report automatically. How can I do that? Does SDK provide hooks for that? Or maybe there are ways to handle crashes using other unity systems?
     
  11. GroundCombo

    GroundCombo

    Joined:
    Jan 23, 2015
    Posts:
    15
    Some feedback:
    - As mentioned before, the API and example are kind of weird with the one-frame coroutine. Documentation is no doubt coming at some point, but it required some trial and error to get going.
    - Really nice options for attachments and arbitrary data.
    - The biggest hurdle is the dashboard. It's slow (seems to be a problem with Unity services and the forum in general these days), it needs more compact view options, there's no mass deleting and it likes to refresh the session often using several slow redirections.
    - Tagging/grouping and a comment field would be very nice. Maybe you're going with the integration route but the dashboard is very barebones.
    - Overall definitely useful and worth improving though.
     
    MihaPro_CarX likes this.
  12. SeanMcTex

    SeanMcTex

    Joined:
    Dec 12, 2016
    Posts:
    7
    Brett,

    We've taken the Unity Bug Reporter out for a spin, and really like it. (We also tried Instabug, but didn't have immediate success with their Unity integration.) We'll certainly be starting to use it on our projects as soon as the Jira integration is available. Do we have any timeline for that, or is there a good place to watch for that announcement?

    Thanks for your work on this!

    Cheers,
    Sean
     
  13. johng_unity

    johng_unity

    Unity Technologies

    Joined:
    Nov 5, 2015
    Posts:
    122
    Hi - just a quick note that JIRA integration is now available for Bug Reporting. You can set it up in the developer dashboard under Settings > Integrations (Beta).
     
  14. Jelmersb

    Jelmersb

    Joined:
    Jul 12, 2016
    Posts:
    66
    Hi
    I'm using bug report to gather qualitative user feedback, e.g. screenshot and the user can write text. It's really awesome in that, because we don't need a backend, and because of the slack integration: my team instantly get's to see what users think of the app. Even better would be to be able to include more info in the slack, for example images. Is that on the way?

    - what "parts" in Update() can I take away to save performance?
    - what would be the most simple way to just send text and a screenshot? Right now I'm using the prefab, but I think it is a bit overkill?
    - is it true that the prefab doesn't take into account errors in sending the report? To the user it seems the report is always send. even when there's no internetconnection.
    - can i use this in a live app or would that be a bad idea?
     
    Last edited: Aug 30, 2018
  15. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    20
    We're working on including the thumbnail in Slack. Is there anything else you would like to see included?

    You can speed up the BugReportingClient by turning off metrics. It's one of the configuration options passed to Configure(). However, depending on the platform, the client uses very little resources, even with metrics on. Without metrics, the client does very little work on update.

    The prefab is very simple and is designed as a starting point. Tear it apart. Remove stuff. Add stuff. Make it whatever you need it to be. It doesn't display progress or errors, but it isn't difficult to add yourself, and we'll be adding it to a future version of the prefab.

    You can use the BugReportingClient directly without using the prefab. See BugReportingScript.cs for reference, but it's probably unnecessary unless you're doing something unique.

    You can use this in a live app. It's currently being used by many live apps with a large number of users.
     
    Jelmersb likes this.
  16. Jelmersb

    Jelmersb

    Joined:
    Jul 12, 2016
    Posts:
    66
    OK thanks for clarification :)
    Regarding slack: my stakeholders hardly have an idea what Unity is, let alone that they have a Unity account :D
    So it would be great if I can pick which fields I pass to Slack (which would probably be the title and description)
     
  17. Taky

    Taky

    Joined:
    May 30, 2013
    Posts:
    7
    Hi friends. Has anyone had success with the Jira integration? It appears we've entered all the correct information (the Jira integration appears in the "Integrations (Beta)" from the dashboard) We submit bugs, and they appear in the unity dashboard, but never seem to make it over to Jira. If anyone has had this work then I'll keep looking on my end. Any suggestions welcome.
     
    Last edited: Sep 5, 2018
  18. johng_unity

    johng_unity

    Unity Technologies

    Joined:
    Nov 5, 2015
    Posts:
    122
    We identified and fixed an issue that we believe was causing this. Let us know if it is still not working for you.
     
    Taky likes this.
  19. Taky

    Taky

    Joined:
    May 30, 2013
    Posts:
    7
    Yup! Everything seems to be working, bugs appearing in JIRA. One quick thing - deleting a bug in Jira does not delete it on the Unity side of things. And to delete a bug in the Unity Dashboard requires opening the bug and deleting. This will become a pretty arduous process for when we want to clean up the Unity Dashboard. Just a thought. Otherwise great job.
     
  20. Taky

    Taky

    Joined:
    May 30, 2013
    Posts:
    7
    Not sure if there is more work going on with the Jira integration but we stopped getting reports sent to Jira about 2 days ago.
     
  21. Gurg

    Gurg

    Unity Technologies

    Joined:
    Nov 9, 2016
    Posts:
    66
    Can you try again? We pushed a fix for that around 2:45PM Pacific time.

    Edit: To clarify, by "try again" I mean deleting the old integration hook for JIRA and then re-adding it. That should fix it up.
     
  22. RVC_Mike

    RVC_Mike

    Joined:
    Jan 14, 2018
    Posts:
    3
    I have an issue. Bug report works in the editor, but when I run in a build I get this.

    UnityBugReportingPlatform.Post: 500 Internal Server Error
     
  23. tommygwu

    tommygwu

    Joined:
    Jun 28, 2013
    Posts:
    3
    Would love to have integration with Asana and Email. If you support email, there's plenty of third-party services we can use to organize the information on another dashboard
     
  24. RVC_Mike

    RVC_Mike

    Joined:
    Jan 14, 2018
    Posts:
    3
    Tested today and it appears to be working
     
  25. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    37
    getting message in console and no reports in dashboard
    Code (CSharp):
    1. UnityBugReportingPlatform.Post: Unable to complete SSL connection
     
  26. RVC_Mike

    RVC_Mike

    Joined:
    Jan 14, 2018
    Posts:
    3
    Still have reliability issues:
    UnityBugReportingPlatform.Post: 408 Request Timeout
     
  27. lucidcoder

    lucidcoder

    Joined:
    Mar 23, 2010
    Posts:
    138
    I've followed the link to enable bug reporting in my project, but it doesn't seem to do anything and just dumps me onto the page that lists all of my projects out. Has it been moved or closed off?
     
  28. johng_unity

    johng_unity

    Unity Technologies

    Joined:
    Nov 5, 2015
    Posts:
    122
    Bug Reporting is now part of Unity Cloud Diagnostics. Documentation and setup instructions can be found here:

    https://unitytech.github.io/clouddiagnostics/

    Let us know if you have any questions.