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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
This is a duplicate of issue #1146620