sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Add current scene to the Unity context

Open lucas-zimerman opened this issue 3 years ago • 3 comments
trafficstars

Having the Scene as a tag helps you to filter the errors that may be happening on a given scene (although this may not help if there's a native crash?)

lucas-zimerman avatar May 23 '22 13:05 lucas-zimerman

That's a great idea! We could set the scene as Transaction. The LogHandler now possibly has the GameObject as context and we could get the scene it belongs to from there.

bitsandfoxes avatar Jun 01 '22 12:06 bitsandfoxes

Later we can do the tag from the Unity context item, if needed (during ingestion).

vaind avatar Jun 07 '22 15:06 vaind

We need to find out how often the GameObject is actually available.

P.S. we may want to also add the GameObject class to the context.

vaind avatar Jun 07 '22 15:06 vaind