Hello! I have a question regarding Error tracking. I have the native Android SDK wrapped for Unity and I don’t seem to get good Stacktraces from it, I wrap the Unity exception as the cause of a Java Throwable.
java.lang.Throwable: NullReferenceException: Object reference not set to an instance of an object.
...
at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
at com.unity3d.player.UnityPlayer.access$500(Unknown Source:0)
at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:126)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
Caused by: java.lang.Throwable: UNITY STACKTRACE...```
In this case, the Unity stacktrace get truncated by being too long and I can’t get enough info from it.
Do you know if it is possible to translate the Unity stacktrace to a Java stacktrace somehow and get better reporting?