Search Issue Tracker
Duplicate
Votes
0
Found in
2019.1.0a10
2019.1.5f1
2019.2.0a1
2019.3.0a1
Issue ID
1160661
Regression
Yes
VideoPlayer Component does not render video in Play mode when Camera Component Culling Mask is set to UI
How to reproduce:
1. Open the "test" Scene in the attached "case_1160661.zip" Unity project
2. Enter Play mode and observe the Game tab
Expected result: video is playing in the Game tab
Actual result: audio can be heard, but the video is not playing
Reproducible with: 2019.1.0a10, 2019.1.6f1, 2019.2.0b5, 2019.3.0a5
Not reproducible with: 2017.4.29f1, 2018.4.2f1, 2019.1.0a9
Note: the issue is reproducible when the Render Mode of the Video Player Component is set to "Camera Near Plane" or "Camera Far Plane", and the Camera Component Culling Mask property is set to UI.
-
Resolution Note (2019.3.X):
Up until 2019.1, the VideoPlayer had a bug which meant it did not follow normal Unity layer concepts.
As of 2019.1, this has been corrected.If you want the VideoPlayer's output to be visible in a particular layer, you must put the VideoPlayer's GameObject on that layer.
In this particular case, you need to put the TestVideo GO on layer "UI".
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
- UI Builder Hierarchy files are not marked dirty when Inspector fields in Attributes category are changed
- SVG file icons do not use the default asset icon when Vector Graphics package is not installed
- UnmanagedReadOrWrite objects are not disposed off when GZipStream is used in the "using" statement
- Android build fails when StreamingAssets contains 998 or more files
- "Playmode tint" is applied to Color and Gradient fields when in Play mode
This is a duplicate of issue #1146620