Search Issue Tracker

By Design

Votes

0

Found in

2018.4.32f1

2019.4

2019.4.21f1

2020.2

2021.1

2021.2

Issue ID

1316930

Regression

No

[macOS] VideoPlayer.clockTime gets stuck for a few frames when starting to play a video

Video

-

Reproduction steps:
1. Open attached project "VideoPlayer_Bug_Report" and load Scene "VideoScene"
2. Enter Play Mode
3. In the Game window check "Log On Update"
4. Click "Prepare", "Seek to frame 100", "StepForward" and "Play" in this order
5. After a couple of frames of the video play, exit Play Mode
6. Observe the Console output immediately after the button "Play" was pressed

Expected result: VideoPlayer.clockTime starts updating immediately after VideoPlayer.isPlaying is set to True
Actual result: VideoPlyaer.clockTime starts updating only after a couple of frames pass

Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6

Notes:
- Does not reproduce on Windows
- A video of the issue is attached

  1. Response avatar

    Resolution Note:

    VideoPlayer.clockTime keeps the same value across calls when called more frequently than the clock's resolution. Also, MonoBehaviour.Update may get called faster than the movie frame rate, which explains why not every call will show a new video frame.

Comments (2)

  1. 740029a4b2a9198188bdb416c979d44f?d=mm

    seobangladesh1

    Feb 25, 2021 09:06

    Rajshahi University Admission Circular 2021 has been Published on official website resultbangladesh.com/rajshahi-university-admission-circular. It can be downloading with full Prospectus from admission ru ac bd website.

  2. 740029a4b2a9198188bdb416c979d44f?d=mm

    seobangladesh1

    Feb 25, 2021 07:56

    Jahangirnagar University Admission Circular 2021 has been Published on official website resultbangladesh.com/ju-admission-circular. It can be downloading with full Prospectus from ju-admission org website.

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.