Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot attachments have artifacts on mobile devices #1357

Open
MarekMrowiec opened this issue Jun 2, 2023 · 2 comments
Open

Screenshot attachments have artifacts on mobile devices #1357

MarekMrowiec opened this issue Jun 2, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@MarekMrowiec
Copy link

Environment

How do you use Sentry?
sentry.io

Which version of the SDK?
1.4.0

How did you install the package? (Git-URL, Assetstore)
Git-URL

Which version of Unity?
2021.3.17f1 IL2CPP scripting backend

Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Android, iOS

Steps to Reproduce

  1. Make sure "Attach Screenshot" is enable (my settings Quality: Medium, Compression: 75)
  2. Trigger exception on device (iphone or android)
  3. See screenshot attachments on Sentry dashboard

Expected Result

Screenshots have no artifacts

Actual Result

Screenshots sometimes have artifacts:
iOS: smaller, mirrored duplicate in the corner
Android: stretched top and right edge

Any logs or screenshots

Reproduced on:
iPhone 14 Pro (iOS 16.1.1)
iPhone XR (iOS 14.4)
iPad 5th gen (iOS 14.3)

Xiaomi M2007J17G (Android 11)

Example screenshot iOS:
screenshot

@bitsandfoxes
Copy link
Contributor

Thanks for raising this. The SDK makes use of Unity's ScreenCapture.CaptureScreenshotIntoRenderTexture. Do you make use of a particular camera setup?

@MarekMrowiec
Copy link
Author

Here is my camera setup
image

@bitsandfoxes bitsandfoxes added the Bug Something isn't working label Mar 27, 2024
@bitsandfoxes bitsandfoxes changed the title Screenshot attaachments have artifacts on mobile devices Screenshot attachments have artifacts on mobile devices Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants