unity editor crashing code trace?

the editor is crashing on me all the time. I know it’s probably because of trying to use a null object, but is there any sort of stack trace to show me exactly where it’s bombing or the last piece of code it ran before it bombed? That would help out a ton.

the log file of the editor contains it. to find its place start the editor again, open the editor log and do a save as. Next to the file of the log itself you will see the -prev version which contains the information of the last (thus crash) run. right click on it → open and you are ready to find out what goes wrong.

how do you open the editor log from the editor?

editor → console window → button top right :slight_smile:

also in case of osx you don’t need save as etc as it ends in the log environment so the prev is just the one right after in the list :slight_smile:

thx