[Edit: There’s an update to this post – Disabling Assembly Reload While in Play Mode]
As you can probably tell by now, I think Unity is great. I’ve never had such awesomely short edit & test cycles on a games project and I really value them. However like almost everything, Platonic Solids aside, it’s not perfect.
There’s one situation in-particular where Unity does something entirely unexpected (at least to me) and quite annoying:
- You’re debugging an issue, sitting at a breakpoint and you work out what the problem is (Yay!)
- You make a quick edit of the code, save the change and return to the Unity editor
- All is good. Things seem to be running happily again and then…
- BAM! There are loads of unhandled (mainly null-dereference) exceptions and you can’t seem to skip past enough of them (all your want to do is get out of play mode) so you eventually give up and just detach the debugger.