sentry-unity
sentry-unity copied to clipboard
DefaultTags in SentryBuildTimeOptionsConfiguration don't show up
trafficstars
Environment
How do you use Sentry? Sentry SaaS
Which version of the SDK? 2.0.0
How did you install the package? (Git-URL, Assetstore) UPM Git-URL
Which version of Unity? 2022.3.20
Is this happening in Unity (editor) or on a player like Android, iOS, Windows? iOS player, no other platform tested
Steps to Reproduce
public class SentryBuildTimeConfiguration : SentryBuildTimeOptionsConfiguration
{
public override void Configure(SentryUnityOptions options, SentryCliOptions cliOptions)
{
options.DefaultTags.Add("branch", GetGitBranch());
}
}
- Create Build
- Run on Device
Expected Result
The branch tag appears on all Sentry events coming from this build.
Actual Result
The tag is not present on any Sentry events.