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
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.
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.