- Home /
Question by
cory_munky · Feb 05, 2016 at 04:42 PM ·
exceptionloggingstacktrace
Getting the stack trace from a caught exception?
We are catching and logging some Null Reference exceptions in our game, but the exception.StackTrace is turning out to be an empty string.
Is this expected? Is there any way to get a trace of the point of the null reference? Unity 5.3.2p1, iOS/Android, IL2CPP
Thanks!
Comment
For those following this question, JoshPeterson got back to me on the forum. "Should work. Can you send a demo project?"
http://forum.unity3d.com/threads/getting-the-stack-trace-from-a-caught-exception.384050/