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.

New feature: log errors ?

Discussion in 'Unity Analytics' started by -Aymeric-, Feb 25, 2015.

  1. -Aymeric-

    -Aymeric-

    Joined:
    Oct 21, 2014
    Posts:
    110
    Hey there,

    With Flash/AIR/AS3 I use Flox to report analytics from my app. There is an awesome feature : log errors. If I add :

    Code (csharp):
    1. loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, function(event:UncaughtErrorEvent):void {
    2.       Flox.logError(event.error, "Uncaught Error: " + event.error.message);
    3. });
    All the runtime errors from my app will be catched and report in the Flox console. That's way I can see how often an error occurs and its stack. It defintely helps me to solve them and make a better app which is bug free.

    I would really enjoy to see something like this with Unity Analytics!
     
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    630
    That's a really good idea. As an old Flash/Air-head myself, I've used a similar functionality (not Flox...can't remember quite what we used). I'll forward the suggestion to the relevant folks.
     
  3. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    630
    So, relevant to your recent question, this was announced today at GDC:

    http://perf.cloud.unity3d.com/

    This is a new (alpha) service where we'll be handling crash and unhandled exception reporting. Hope it helps!
     
  4. -Aymeric-

    -Aymeric-

    Joined:
    Oct 21, 2014
    Posts:
    110
    Yeah, sounds like exactly what I needed! Waiting for the access, thanks again marc!