Search Issue Tracker

Fixed

Fixed in 2022.3.16f1, 2023.2.5f1, 2023.3.0a14, 7000.0.0a1

Votes

4

Found in

2022.3.9f1

2023.1.13f1

2023.2.0b9

2023.3.0a5

7000.0.0a1

Issue ID

UUM-48911

Regression

Yes

Choppy video playback when Application.targetFrameRate is set lower than the video frame rate

--

-

Reproduction steps:
1. Open the attached project “VideoIssue”
2. Open the “Assets/Scenes/SampleScene” Scene
3. Enter the Play mode
4. Observe the video playing in the Game view

Expected result: The video is being played at around 15 FPS
Actual result: The video is being played on the original 23.98 FPS with choppy playback

Reproducible with: 2022.3.9f1, 2023.1.0a13, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Not reproducible with: 2021.3.30f1, 2023.1.0a12

Reproducible on: macOS 13.4.1 (Intel)
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 2023.3.0a14):

    In-editor frame consumption used to happen at a faster rate because of side-effects due to UI refresh. This side-effect got removed by a recent change to repair incorrect execution order in video updates. Made internal improvements so that internal buffering is drained when we detect that the game iteration loop is slower than the frame rate of the video being played.

Comments (5)

  1. musicdeveloper

    Jan 31, 2024 23:03

    This is NOT FIXED in 2022.3.19f1 on Android!!

    I will try to find time to submit this same issue again.

    Can you please reopen and fix on Android - please?!?

  2. musicdeveloper

    Nov 29, 2023 22:44

    Clarification - it is not fixed on at least Android in Unity 2023.3.0a15.

    Please, make sure to test on all four major platforms before marking this as fixed.

  3. musicdeveloper

    Nov 29, 2023 22:43

    This does not appear to be fixed in Unity 2023.3.0a15.

    Please, please make sure this is actually fixed.

  4. iSeeGreg

    Nov 12, 2023 22:22

    @MusicDeveloper

    I second that. Upgrading our application from Unity 2019 to 2022 has severely limited the video playback feature in game :(

    Please fix this. Update mode set to Unscaled Game Time. If Skip on Drop is not selected, video is smoother but playback of the audio track is still affected, like it's been resampled incorrectly.

    It suits our use case better is Skip on Drop is on, as it always has been

  5. musicdeveloper

    Oct 31, 2023 21:49

    This is a game-breaking issue!

    Please, please get the fix for this through to 2022.3.x LTS as soon as possible...

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.