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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
Add comment