Search Unity

Best way to "Read" the reports?

Discussion in 'Unity Cloud Diagnostics' started by infinitypbr, May 24, 2015.

  1. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Hello!

    My code isn't the best because I'm not the best coder, but my game is being played by a few thousand people (and is a long game, so they play a lot) and I'm getting lots of reports, which is great!

    However, one of them read this:

    enemyScriptNew.RightFoot ()
    enemyScriptNew.CastOnDeck ()
    System.Array+InternalEnumerator`1[UnityEngine.Vector4].get_Current ()

    And I'm not sure what it means. The RightFoot() function is actually empty and isn't called from any other script, so I'm not sure why it's listed here.

    Also, what does the 3rd line mean?

    Thanks!!

    Andrew


    PS -- I think they're read bottom to top, where the top is the last part of the thread? In the report below, I found that RemoveShadow() was attempting to turn off an object based on a variable, but didn't check first to make sure the variable was populated. So I check for that now, and I'm expecting this error to go away.

    enemyScriptNew.RemoveShadow ()
    enemyControl.TurnOffModel ()
    enemyScriptNew.Update ()
    System.Array+InternalEnumerator`1[UnityEngine.Vector4].get_Current ()
     
    Setmaster likes this.
  2. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Also, is there a way to tell if these errors are causing crashes or other issues?
     
  3. ChrisLundquist

    ChrisLundquist

    Unity Technologies

    Joined:
    Mar 2, 2015
    Posts:
    55
    Sounds like you have things all figured out now.

    No, there isn't a good way to determine the impact of a given crash report without knowing your code.