Skip to content

Commit ecdddcc

Browse files
authored
feat(Unity): Added troubleshooting for screenshots (#13692)
1 parent 638fffc commit ecdddcc

File tree

1 file changed

+7
-3
lines changed
  • docs/platforms/unity/troubleshooting

1 file changed

+7
-3
lines changed

docs/platforms/unity/troubleshooting/index.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ This is a [known limitation](https://github.com/getsentry/sentry-unity/issues/88
6969

7070
### Sentry didn't capture Unity's test/helper function ForceCrash
7171

72-
Unity provides a function to test crashes called `UnityEngine.Diagnostics.Utils.ForceCrash()`. The Sentry SDK subscribes to the signal handlers and captures **all signals** received by it.
73-
But the result of that function doesn't get invoke our callback.
74-
Outside of this helper funciton, Sentry is unaware of any **real world** crash type that isn't invoking our signal handlers.
72+
Unity provides a function to test crashes called `UnityEngine.Diagnostics.Utils.ForceCrash()`. The Sentry SDK subscribes to the signal handlers and captures **all signals** received by it.
73+
But the result of that function doesn't get invoked our callback.
74+
Outside of this helper function, Sentry is unaware of any **real world** crash type that isn't invoking our signal handlers.
75+
76+
### Screenshot contain artifacts
77+
78+
The screenshot capture relies on Unity's `ScreenCapture.CaptureScreenshotIntoRenderTexture` function. When capturing errors in the Editor, this might lead to artifacts or scaling issues in the captured screenshot.

0 commit comments

Comments
 (0)