When running my game, and doing a specific action, I get an ArgumentNullException error in the Unity console. Yet I can’t find which argument is null…
When I get this error the game just continues to run. Is it possible to let Monodevelop break when this error occurs so that I can see the values of the variables at that point in time of the program ?
I tried launching Unity using the debug button in Monodevelop, but that doesn’t make any difference.
Do make Unity stop and then have MonoDevelop break on the line that errored you will need to go to the Run->Expressions menu option in MonoDevelop. I just found this. I moved all the exceptions over there… but I seemed to get a bunch of exceptions right away that I have to hit F5 (Windows) to bypass a few times, like ExitOnGUI and System.IO exception.