sentry-unity
sentry-unity copied to clipboard
Screenshot attachments have artifacts on mobile devices
trafficstars
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
- Make sure "Attach Screenshot" is enable (my settings Quality: Medium, Compression: 75)
- Trigger exception on device (iphone or android)
- 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: