Description
Currently, if you call SentrySdk.CaptureMessage()
and you have options.AttachStacktrace = true
the event will look like this:
The SDK does capture the stacktrace but the line numbers are missing.
This is due to the line numbers relying on the IL2CPP event processor and the processor relies on an exception - which there is none in the case of just capturing a message.
Gotcha here: The messages triggered by the buttons in the UnityOfBugs scene seem to be affected by whatever event invoke magic Unity is doing under the hood so the actual games might be missing. I recommend adding something like this to the BugFarmButtons.cs
script for testing purposes.
private void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
SentrySdk.CaptureMessage("Capturing Message");
}
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done