Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.2.X
Votes
1
Found in
2018.4.0f1
2019.2.0a1
2019.2.4f1
2019.3.0a1
2020.1.0a1
Issue ID
1187256
Regression
No
[MacOS] VideoPlayer.frameReady event doesn't prepare a new frame when the dropped frame is skipped
How to reproduce:
1. Open the attached project (case_1187256-Project.zip)
2. Open the SampleScene from the Scene folder
3. Enter the Play mode
Expected result: The video plays without stopping.
Actual result: The video stops at the 28th frame.
Reproduced in: 2018.4.10f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a7.
Couldn't test with: 2017.4 (There's no option for "Skip On Drop" in the Video Player, which is connected to the issue)
Notes:
1. The video always stops at the same frame, when playing back the video with the VideoPlayer.frameReady event
2. The option "Skip On Drop" can't be disabled on macOS MP4 video format
3. Although the "Skip On Drop" can't be disabled, it works just fine in the 2017.4 Unity stream where there isn't an option for it.
4. Couldn't reproduce the problem on Windows
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2021.1):
A rounding error in internal calculations for converting time values to frame indices was mapping 2 consecutive timestamps to the same frame index. Reworked how the calculation is done. Fixed in Unity 2020.2.0a1 and above
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.0b5
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.4f1
Resolution Note (fix version 2019.4):
Fixed in Unity 2019.4.19f1