Application.logMessageReceived issues on Android
Hi all,
I am stuck trying to report runtime issues (such as null pointer exceptions) with the HockeyApp SDK on Unity. I've already had a few weeks of back and forth with the HockeyApp people, building my own experiments, and posting on StackOverflow. Yet, I am at a loss.
HockeyApp's report are dependent on either of the following two callbacks getting fired: System.AppDomain.CurrentDomain.UnhandledException Application.logMessageReceived
Just trying to get these to be called (even without the SDK) works just fine on iOS, yet on Android I get nothing. I can crash the program with a native crash, yet null pointers and custom exceptions appear to get caught (yet occur in logcat), yet nothing I can listen to from within Unity.
Info: Unity Version: 5.4.0f3 HockeyApp SDK Version: 1.1.1
Any information or help would be much appreciated. Thank you.
Kyle
Hi again,
The biggest clue I have right now is Debug.Log() and Debug.LogWarning() both hit the callback Application.log$$anonymous$$essageReceived while Debug.LogError() does not.
I was thinking maybe something else in the game was effecting the callback, so I have a heartbeat command reseting the callback with no change to behavior. $$anonymous$$y PlayerSettings -> Other Settings -> Logging is set to ScriptOnly for Error, Assert, Warning, Log, and Exception.
Thanks again, $$anonymous$$yle
@$$anonymous$$yle-$$anonymous$$-SGN Did you ever find a solution to your problem?