Copyright © 2026 Unity Technologies
VideoPlayer.time and VideoPlayer.frame are only updated when the next frame gets produced, which is not yet the case within the seekCompleted handler. To execute logic after seek completes and the new frame is displayed, the VideoPlayer.frameReady event can be used.
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Click somewhere further or back on the slider
5. Observe the Log Messages in the Console
Expected result: Log Message “Time after seeking:
{value}“ is the same value as “Setting Time from - to {value}”
Actual result: Log Message “Time after seeking:
”
Reproducible with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17
Reproduces on: Windows 10 Enterprise 21H2
Notes:
“ being incorrect
Issues you vote on will appear here