Search Issue Tracker

Fixed

Fixed in 2021.3.34f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a14, 2024.1.0a1

Votes

0

Found in

2021.3.27f1

2022.3.4f1

2023.1.2f1

2023.2.0a21

2023.3.0a3

2024.1.0a1

Issue ID

UUM-40971

Regression

No

OnFrameReady is called twice when setting the time in VideoPlayer

--

-

Reproduction steps:
1. Open the attached project “VideoPlayerBug“
2. Open the Scene “Assets/New Scene”
3. Build and run the project (File > Build And Run)
4. Switch to the Unity Editor
5. Switch to the browser
6. Open the browsers Console window (RMB > Inspect > Console)
7. Press the Button “Play”
8. Press the Button “Pause”
9. Press the Button “Set time = 2”
10. Observe the browsers Console window

Expected result: There are two new OnFrameReady logs
Actual result: OnFrameReady is called once

Reproducible with: 2021.3.27f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a21

Reproducible on: Windows 11

  1. Resolution Note (fix version 2024.1.0a1):

    Changing to Landed -> Closed.
    Unity 2024.1 tickets do not have automation.

  2. Resolution Note (fix version 2023.3.0a14):

    Prevent updating the current texture and time when seek is ongoing, because the current time would become undefined, leading to possibly redundant calls to seekCompleted.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.