Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
21
Found in
2017.1.0f3
Issue ID
940872
Regression
Yes
[iOS][ReplayKit] Recording with ReplayKit fails on iOS 11 latest beta
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:
'startRecordingWindowLayerContextIDs:windowSize:microphoneEnabled:cameraEnabled:broadcast:systemRecording:captureEnabled:listenerEndpoint:withHandler:', dropping incoming message and calling failure block.
Exception: accessing _cachedSystemAnimationFence requires the main thread
Notes:
Doesn't reproduce with earlier iOS versions (including earlier iOS 11 betas)
Broadcasting seems to work fine.
Comments (12)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
trd99
Jul 10, 2018 17:30
release notes on 2018.2 don't say it is fixed. any idea when it will be back ported to 5.6.*?
Trungdv
Mar 21, 2018 04:38
I saw the status "Fixed in future release" from a long time ago (may be 2017.2?) Now they released 2017.4.0f1 and this bug has not fixed yet? What is that future release? 2020? 2030?
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/
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.
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
AdrienC
Oct 17, 2017 15:31
Still crashing with 2017.2 with iOs 11.
hjkoenig
Oct 14, 2017 21:40
same problem with 2017.2
Guilherme-Otranto
Oct 10, 2017 21:39
This seems to be open for a while now, any news?
Thanks!
jerocostadift
Aug 29, 2017 05:12
Any new guys? Unity ReplayKit is not working on iOS11 beta 8.
TillmaniaLtd
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...