Search Issue Tracker

Fixed

Fixed in 2022.3.31f1, 6000.0.1f1

Votes

0

Found in

2022.3.20f1

2023.2.12f1

2023.3.0b9

6000.0.0b11

Issue ID

UUM-64898

Regression

Yes

“VideoPlayer.DecodeNextFrame” continues decoding in Profiler when the Video Clip has finished playing

--

-

How to reproduce:
1. Open the user’s attached “Splash Screen Test.zip” project
2. Enable the “Developer Build” setting and build the project
3. Run the project
4. Open Profiler, select the project, and select “Timeline” mode
5. In the project, press the “Play” button
6. Observe the Jobs section after the video stops

Expected result: “VideoPlayer.DecodeNextFrame” is not shown after Video Clip has finished playing
Actual result: “VideoPlayer.DecodeNextFrame” is shown after Video Clip has finished playing

Reproducible with: 2022.2.0a16, 2022.2.21f1, 2022.3.20f1, 2023.2.12f1, 2023.3.0b9
Not reproducible with: 2021.3.35f1, 2022.2.0a15

Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested

Note: reproducible on iOS (user’s info)

  1. Resolution Note (fix version 6000.0.1f1):

    Avoid calling into AVFoundation's entry points repeatedly to get a new buffer after playback is known to have reached the end. On lower-spec devices, these calls can take a long time to return.

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.