Search Issue Tracker

Active

Votes

21

Found in

2017.1.0f3

Issue ID

940872

Regression

Yes

[iOS][ReplayKit] Recording with ReplayKit fails on iOS 11 latest beta

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Steps to reproduce:

1. Open attached project
2. Build 'Test' scene for iOS
3. Run on a device with latest iOS 11 beta (15A5341f)
4. Click "Start Recording" and then choose "Record Screen" when the popup appears
5. Notice the recording fails with error:
"Error Domain=com.apple.ReplayKit.RPRecordingErrorDomain Code=-5804 "Failed during recording" UserInfo={NSLocalizedDescription=Failed during recording}"

Notes:
Doesn't reproduce with earlier iOS versions (including earlier iOS 11 betas)
Broadcasting seems to work fine.

Comments (8)

  1. 98190935593a1d1dce3a9898e5a6fab3?d=mm

    SoerenL

    Nov 09, 2017 08:53

    Problem also exists in Unity 5.6.4p1 / Xcode 9.1 / iOS 11.1 (15B83). Severe on iPhone 6, not so bad on iPad Pro 9 inch. Seems worse on my test devices than I thought previously. Sometimes I don't get the "Error Domain=com.apple.ReplayKit.RPRecordingErrorDomain Code=-5804 "Failed during recording" UserInfo={NSLocalizedDescription=Failed during recording}" error code, but then another problem arises: videos are not always saved when we tap save in the preview window.
    In this thread: https://issuetracker.unity3d.com/issues/arkit-replaykit-save-button-does-not-work-on-~1minute-plus-videos
    lupidan suggests that it is a problem with Apple and not Unity, so we should probably go here to let Apple know:
    https://developer.apple.com/bug-reporting/

  2. 98190935593a1d1dce3a9898e5a6fab3?d=mm

    SoerenL

    Oct 24, 2017 11:06

    Have also encountered this issue previously, also before iOS11. Usually it works fine on my own test devices, but once in a while a user will contact me with the issue. Sometimes a restart of the device or a re-install of the app can solve it, but not always.

  3. Bd8b27c07a270dc81f2f370d7f2bfab9?d=mm

    Serhii-Horun

    Oct 18, 2017 13:04

    Hi guys. I had the same issue (xCode 9.0, unity 2017.1.0f3). I resolved it by simple phone relaunch

  4. A816fea1d06711990569986d8bbc472a?d=mm

    AdrienC

    Oct 17, 2017 15:31

    Still crashing with 2017.2 with iOs 11.

  5. 563f71acb8fe8aee20bfa115d7495c9a?d=mm

    hjkoenig

    Oct 14, 2017 21:40

    same problem with 2017.2

  6. 77d9bbc821ac561ee2469b26e9a92925?d=mm

    Guilherme-Otranto

    Oct 10, 2017 21:39

    This seems to be open for a while now, any news?
    Thanks!

  7. Dc8bdaa8e65233f444689f65a7ccc589?d=mm

    jerocostadift

    Aug 29, 2017 05:12

    Any new guys? Unity ReplayKit is not working on iOS11 beta 8.

  8. 45c3f1fae55e7e47cc02d4cacf040164?d=mm

    Tillmania69

    Aug 14, 2017 22:39

    Are you using a 3rd party plugin for ReplayKit use? I’ve tried 2 and have the same issue in iOS 11. No problems in iOS 10...

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.