Hi folks, I have a crash in my code and I’m able to symbolicate the crash dump. The problem I run in to is this:
MICELBStreamIn_put_byte__ + 3264
So MICELBStreamIn:put(byte[ ]) is implemented in UnityScript. It’s great that I know what function the crash occurs in, but in the case the function is very complex and it’s difficult to see where the error is from the rest of the stack trace. The problem is I have no clue how to translate that offset in to something that matches the script code. Any suggestions?
Thanks!
You can Log out StackTraces in C# using Try-Catch blocks. Those will give an exception type object that contains a C# Stack Trace.
It probably won’t be useful post release for getting relevant logs, but if you can reproduce it internally you can use a Try-Catch block to try to determine where the issue was.
Extra Note: If you get a Null Reference in a Catch Block, even in internal .NET Try-Catches you will not be able to retrieve a valid exception, as it will cause the program to fully crash on you before retrieving the exception.