Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X, 2018.2.X
Votes
31
Found in
2017.1.0p4
Issue ID
950054
Regression
No
Seeking backwards in VideoPlayer video takes considerably more time than seeking forwards
Steps to reproduce:
1. Open user attached project "VideoPerformance.zip"
2. Build for android device
3. Press "High profile" video
4. Seek forwards, it should take a second or two to calculate and show video at the selected time
5. Seek backwards, it should take much more time to calculate and show video
6. Seeking to start is instant
Expected: Seeking forwards or backwards should be optimized better and in general it should take about the same amount of time
Actual: Seeking forwards seems to be easier than seeking backwards
Reproduced on: 2017.1.p2, 2017.2.0f1, 5.6.3p3
Devices under test:
Huawei P9 Android 7.0
Samsung Galaxy S7 Android 7.0
Samsung Galaxy S8 Android 7.0
Comments (16)
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
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
novita696
Aug 31, 2021 07:46
Please fix that issue!! thank you :)
IGutierrez
Jul 21, 2018 21:52
I had the same issue on 2017.3.0f3 and Android (iOS works fine), and after trying a lot of things, what worked for me was to go to the end of the video (videoPlayer.time = clip.length), wait 1 sec, play the video, wait 1 sec, and then advance to the "rewind" position previously stored.
Without the waits, it just do the same error, "pause" the video and then play it after a couple of seconds/minutes
behdadsoft
Jun 17, 2018 09:43
This problem fixed in Unity 2018.2.b8, but sometimes this problem happen again.
holofarm
May 23, 2018 15:40
Fix confirmed:
float currentTime = (float)videoPlayer.time;
if (_time > currentTime)
videoPlayer.Pause();
else {
videoPlayer.Stop();
}
videoStatusText.text = "LOADING";
videoPlayer.time = _time;
videoPlayer.Play();
SYSU501JAN 30, 2018 02:41
We have found a way to workaround this bug , we restart the url when we want to seek backwards , so the "backwards" is converted to "forwards" ; Another way is you can prepare two videoplayer , that can convert the "backwards" to "forwards" , too.
, by Sam and Rw from China, we hope this idea can help you.
korypse
Mar 06, 2018 14:22
Please fix that issue!!
SamMazer
Feb 27, 2018 18:50
Please fix video player's issues, thanks!
sysu501
Jan 30, 2018 02:41
We have found a way to workaround this bug , we restart the url when we want to seek backwards , so the "backwards" is converted to "forwards" ; Another way is you can prepare two videoplayer , that can convert the "backwards" to "forwards" , too.
, by Sam and Rw from China, we hope this idea can help you.
zzwang1203247639
Jan 19, 2018 02:24
please fix the issue, thank u
leemeitao
Jan 19, 2018 02:14
Same issue on Unity 2017.3.0f3 , android
sysu501
Jan 18, 2018 02:39
Same issue on Unity 2017.3.0f3, with MI MAX2 Android 7.1.1