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
- Profiler disconnects from WebGL Player when it gets clicked on in URP
- Crash on -[NSApplication _crashOnException:] when opening a specific custom Editor window
- Sprite editor does not allow creating new sprite tiles in a sprite sheet with a specific name
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
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