Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2018.4.5f1

Issue ID

1183184

Regression

No

[2018.4] VideoPlayer playback causes a graphical glitch on OSX Standalone

Video

-

How to reproduce:
1. Open the "TH20cut2.zip" project with Unity 2018.4
2. Build & Run the project
3. Press Start Game
4. Notice the red bar on top when the video starts playing

Actual result: Red bar appears on top of the video for a few frames.
Expected result: The video plays without any interruptions.

Reproducible with: 2018.4.12f1, 2018.4.17f1.

Notes:
- Can't check other versions as the project contains to many compiler errors in them.
- The Video Player is rendering to a RenderTexture which is given to RawImage in the Canvas.
- There is no active camera when the video is playing (may be connected).
- According to the user, the issue happens only on iMacs with Retina 4K or more display.
- Not reproducible on Editor.

  1. Resolution Note:

    The red (on Metal) or black (on GL) flicker is due to the fact that an uninitialized RenderTexture is used by a RawImage. This RenderTexture is later on written to by the VideoPlayer, but while the VideoPlayer is buffering before playback, it is up to the user to not use this uninitialized texture, or to initialize its content explicitly so it doesn't show uninitialized content.

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.