getsentry/sentry-cocoa

SessionReplay causes user-visible frame drop

Opened this issue · 4 comments

dfed commented

Platform

iOS

Environment

Production, Develop, TestFlight, Other

Installed

Swift Package Manager

Version

8.26.0

Xcode Version

15.4

Did it work on previous versions?

8.25.0

Steps to Reproduce

Set the following options:

options.experimental.sessionReplay.errorSampleRate = 1.0
options.experimental.sessionReplay.sessionSampleRate = 1.0
options.experimental.sessionReplay.redactAllText = false
options.experimental.sessionReplay.redactAllImages = false

Expected Result

Do not see user-visible frame drops

Actual Result

See user visible frame drops every second

Are you willing to submit a PR?

No response

dfed commented

Probably worth mentioning that the view dropping frames is a Unity view that's been embedded in our iOS app. Prior to 8.26.0 replay did not capture the Unity view.

Thanks @dfed for reaching out. We will investigate this.

dfed commented

More info! This issue is happening in both 8.25.1 and 8.25.2, in addition to 8.26.0. 8.25.0 does not have this issue.

I belive I know what cause the change. I dont know whether we can go back. But I will try to find an alternative solution.