Skip to content

feat: deprecated c# anr watchdog - #2784

Merged
bitsandfoxes merged 10 commits into
mainfrom
feat/deprecate-managed-watchdog
Jul 30, 2026
Merged

feat: deprecated c# anr watchdog#2784
bitsandfoxes merged 10 commits into
mainfrom
feat/deprecate-managed-watchdog

Conversation

@bitsandfoxes

@bitsandfoxes bitsandfoxes commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Resolves https://github.com/getsentry/team-gdx/issues/153

With the addition of native app hang capture the C# watchdog is no longer of much use. The lack of stack traces in resulting events makes them not actionable.

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor
Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- deprecated c# anr watchdog ([#2784](https://github.com/getsentry/sentry-unity/pull/2784))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 57e7b74

Comment thread src/Sentry.Unity/SentryUnityOptions.cs
@bitsandfoxes
bitsandfoxes requested a review from a team July 28, 2026 15:33
SentryMonoBehaviour.Instance.StartAppHangHeartbeat(SentryNative.AppHangHeartbeat);
Logger?.LogDebug("Disabling the C# ANR watchdog - sentry-native handles app hang detection.");
options.DisableAnrIntegration();
options.RemoveIntegration<AnrIntegration>();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise i'd have to disable the deprecation warning.

@bitsandfoxes
bitsandfoxes merged commit a2855f6 into main Jul 30, 2026
17 of 18 checks passed
@bitsandfoxes
bitsandfoxes deleted the feat/deprecate-managed-watchdog branch July 30, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants