Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
4.0.1f2
Issue ID
521497
Regression
No
Video doesn't play if the orientation is changed in the OnApplicationPause method
Video sometimes doesn't play if the orientation is changed in the script right before calling Handheld.PlayFullScreenMovie. This looks like a racing condition, because it's not reproducible every time. This is reproducible on devices with Ice Cream Sandwich and Jelly Bean Android versions. Not reproducible on Gingerbread devices.
Tested devices:
Samsung Galaxy S with Android 2.3.3 (not reproducible)
Google Galaxy Nexus with Android 4.0.4
Samsung Galaxy S3 with Android 4.1.1
Unity Versions:
4.0.1f2 (9bb580cddf70)
4.2.0a1 (e507cb846753)
A workaround would be to make a dedicated scene for playing the video. In that scene in the "void Start()" method the orientation could be changed to autorotation or landscape. Then in the "void Update()" method the movie could be played by calling Handheld.PlayFullScreenMovie and then when the video ends on the next update the orientation could be changed back to portrait and the previous scene could be loaded.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Add comment