Repository navigation
docs(unity): Fix tracing, logs, metrics and error capture docs - #20426
Open
bitsandfoxes wants to merge 4 commits into
Open
bitsandfoxes wants to merge 4 commits into
bitsandfoxes wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 3, 2026 16:08
a4bc85e to
daa193e
Compare
bitsandfoxes
marked this pull request as ready for review
November 3, 2026 17:03
coolguyzone
approved these changes
Nov 5, 2026
coolguyzone
left a comment
Contributor
There was a problem hiding this comment.
Looks good! Thanks for the big docs update.
1 of 6 tasks
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 13, 2026 12:23
daa193e to
d128f6d
Compare
JoshuaMoelans
approved these changes
Nov 13, 2026
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 13, 2026 16:05
d128f6d to
6ef1a69
Compare
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 13, 2026 16:33
6ef1a69 to
7067697
Compare
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 13, 2026 22:43
7067697 to
fa9886c
Compare
Document event throttling with IThrottler, the automatic game metrics, the tracing preconditions for automatic instrumentation, and how errors share traces. Make the session tracking docs Unity-specific, fix the Unity log method names, and add the Unity user feedback overload.
Note that asserts only run in the editor and development builds, add the Unhandled session status and the cache directory requirement, name the .NET exception handlers that stay on, and make the throttler sample key exceptions by stack trace and evict expired entries.
bitsandfoxes
force-pushed
the
fix/unity-docs-tracing-logs
branch
from
November 13, 2026 22:56
fa9886c to
8d5cf60
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Corrects the Unity docs for throttling, metrics, sessions, automatic error capture, tracing, breadcrumbs, logs and user feedback against the sentry-unity 4.13.0 source.
Stacked on #20421 (data collected and privacy). Its base is that branch, so the diff shows only this PR's changes.
IThrottlerfor code.EnableLogDebouncingand theDebounceTime*options are marked deprecated.SetBeforeSendMetricdrops them. New experimental "Automatic Game Metrics" section with the frame, memory, GC and network metrics, their options, metric names and shared attributes.Debug.LogExceptionproduce.Debug.LogAssertionand failedDebug.Assert(editor and development builds only), turning off automatic capture and what each method covers, and how errors join traces (one trace per session without tracing; one per transaction with tracing, and a new trace after each transaction finishes).TracesSampleRateabove 0; startup traces don't run in the Editor, on WebGL or after a late manual init; Awake spans are woven in at build time;SceneManagerAPI.overrideAPIand scene-load tracing.EnableLogs, andDebug.Logat Info level.CaptureFeedback(..., addScreenshot: true)overload.The Unity quick start (
docs/platforms/unity/index.mdx, open in #20012) still links this page as "Event debouncing … to handle high amounts of log output"; it should say "Event throttling" and that it limits repeated errors.Pages to check on the preview:
/platforms/unity/configuration/event-debouncing//platforms/unity/metrics//platforms/unity/usage/automatic-error-capture//platforms/unity/tracing/instrumentation/automatic-instrumentation//platforms/unity/user-feedback/IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace
YYYY-MM-DDwith the due date. You can update this information later by editing the PR description.SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
🤖 Generated with Claude Code