Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 5.4.X, 5.5.X, 5.6.X, 2017.1.X, 2017.2.X
Votes
4
Found in
5.6.1p3
Issue ID
940608
Regression
No
[iOS] FullScreenMovieControlMode.CancelOnInput does not work on iOS11
There is an issue with video playback in Unity. On iOS10 single tap skips the video, and there is no option to make a double tap. In iOS11 betas single tap does nothing, and double tap zooms video, and there is no way to skip it.
Steps to reproduce:
1. Build and run attached project (VideoTest.zip) on iOS11 device
2. On Player press Button (video will start)
3. Touch once on the screen
Expected behavior: video stops, the main Player window appears.
Actual behavior: video doesn't stop, a double tap zooms video in.
Tested with:
iPhone 6S iOS11.0 beta 4 - reproduced
iPod 6th gen iOS10.2.1 - not reproduced
Xcode 9.0 beta 4.
Reproduced with: 2017.3.0a2, 5.6.3f1.
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
lijianwei82475
Nov 30, 2017 02:43
QUINNX‘s idea is correct, you can add that codes and save as a new FullScreenVideoPlayer.mm in local disk, when build iOS ipa using Unity, replace FullScreenVideoPlayer.mm created by unity with your saved FullScreenVideoPlayer.mm, and then works!
csumsky3
Nov 08, 2017 16:42
Does anyone here know if this was also fixed in a patch version of 5.5.x, or even 5.x? Upgrading to 2017 at this point in our dev cycle.... too dangerous.
Or does anyone know a way to append that block of code in a post-process function? We use Unity Cloud Build for all our builds, so going into Xcode isn't currently an option... unless we totally change our pipeline.
arturmandas
Oct 17, 2017 13:06
Well so great it's fixed in a version that isn't released yet. How comforting.
MultivariousTom
Oct 12, 2017 15:34
Cheers Quinnx, your workaround saved me a ton of headaches!
Vector-Sprite
Oct 11, 2017 19:45
What QUINNX suggested works for me. The file is located here in Xcode:
Classes/Unity/FullScreenVideoPlayer.mm
QuinnX
Sep 21, 2017 12:14
Append these lines to the end of FullScreenVideoPlayer.mm in the Xcode project generated by Unity:
@interface UIWindow (VideoPlay)
@end
@implementation UIWindow (VideoPlay)
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
[super touchesBegan: touches withEvent: event];
NSString *version = [UIDevice currentDevice].systemVersion;
if(version.doubleValue >= 11 && UnityIsFullScreenPlaying()) {
UnityStopFullScreenVideoIfPlaying();
}
}
@end
webing
Sep 14, 2017 09:27
resolved? how?
MPCCreative
Sep 04, 2017 14:27
Happening here, too. Breaking an app we made which is on +2m devices :x