Best way to handle exceptions in release

What is the best way to throw errors in your game?

I was trying to using actual exceptions, but Unity is a bit different than normal applications since they have an entry point and unity doesn’t.

So now, I am trying to throw new Exception(), but this doesn’t seem to be the way. Debug.LogError is only for debug modes. How can I make sure that EVERY exception is caught in the release build and the user gets a nice error on the screen and the exception is nicely logged to a log manager?

Check out this thread:

It mentions Application.RegisterLogCallBack

Which might be what your looking for.