Search Issue Tracker
Duplicate
Votes
4
Found in
2018.4
2019.4
2019.4.8f1
2020.1
2020.2
2021.1
Issue ID
1302463
Regression
No
VideoPlayer.frame and VideoPlayer.time do not get updated after seeking a video
Reproduction steps:
1. Open attached project "case_1283295-VideoPlayer_Bug_Report" from the link in edit and load Scene "Video Scene"
2. Enter Play Mode
3. Click the buttons "Prepare", "Play", "Pause" and "Seek to frame 100" in this order
4. Observe the Console
Expected result: "frame" and "frameIdx" are equal and "time" corresponds to the appropriate frame of the video in the "OnFrameReady" callback
Actual result: "frame" retains the value of the frame before seeking and "time" does not get updated
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10
Reproducible on:
Editor on macOS
Player on macOS
Comments (3)
-
tomkail_betterup
Dec 02, 2022 17:08
This is still broken! It seems to take a few frames to update after seeking completes. isPrepared returns true.
-
BrendaThornton1
May 30, 2022 03:46
This is also my concern.
-
cihadturhan_unity
Jan 04, 2021 14:21
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
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- Visual Effect Graph error message does not disappear and lasts forever until the Visual Effect Graph is reopened even when the error causing connection/node is deleted and Visual Effect Graph is saved
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
This is a duplicate of issue #1290698