Search Unity

Any way to know reason why editor crashed?

Discussion in 'Editor & General Support' started by Abatuf, Apr 15, 2015.

  1. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    Hi, i am constantly facing this problem when editor crashes because of script problem. Is there any way to know what line exactly caused this(an awfully bad behavior by the way). Now i am using debug.log + reading editor.log, but this is insane! Very frustrating. Like, why editor can catch most of the exceptions but some(i am working with arrays) not causing exception, it just crashes editor!
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,919
  3. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    i am doing this right now, not so helpful because it just ends on latest Debug.log output. By the way, i thought what this can be caused by stack overflow in main(?) thread. I am using large recursive function in my code, maybe this is the problem.
     
  4. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    No, looks like this is not the problem.