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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1146620