Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
1
Found in
2018.4
2019.4
2020.1
2020.1.9f1
2020.2
2021.1
Issue ID
1290698
Regression
No
VideoPlayer.frame returns last frame of the paused video instead of frame that is declared via UI or script
How to reproduce:
1. Open the attached '1290698.zip' project
2. Open 'SampleScene' Scene
3. Enter Play Mode
4. Drag the slider and observe that the value is 30/frame where the video is paused (Slider's value/_player.frame) in the Console
5. Select 'Slider' GameObject in the Hierarchy
6. Change 'OnSliderValueChange' methods argument value to 40 in the Inspector
7. Drag the slider and observe that the value is 40/frame where the video is paused (Slider's value/_player.frame) in the Console
Expected result: Value logged in the Console is 40/40
Actual result: Value logged in the Console is 40/frame where the video is paused
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.0b14, 2021.1.0a10
Notes:
- Reproducible on macOS; not reproducible on Windows
- Videos of reproduction on macOS and Windows are attached in Edit
Comments (2)
-
tomkail_betterup
Dec 02, 2022 17:11
The linked issue here
https://issuetracker.unity3d.com/issues/videoplayer-dot-frame-and-videoplayer-dot-time-do-not-get-updated-after-seeking-a-video
is not a duplicate. These are separate bugs and the one in the link above is not fixed. -
cihadturhan_unity
Jan 27, 2021 23:11
I confirm this. It successfully seeks and updates the frame but never updates the videoplayer.frame and .time. I had to buy a video player asset from asset store.
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
- [Linux] Player window unexpectedly resizes to monitor dimensions when calling "Screen.SetResolution" function with hardcoded resolution matching current display's width or height
- Color picker does not show the correct color when selecting color on the moving object
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a5
Resolution Note (fix version 2021.1):
fixed in 2021.1.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.3f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1