Video Player playing only audio, no video, when project build in batchmode.

Hi!

I have project that has 2 scenes, each one has video background made with Unity’s own Video player (camera far plane mode).
Other one is playing mp4 file and other webm. Both work in editors play mode and also when i build
Windows x64 standalone from editor.

But if i build same project from command line, with -batchmode parameter, project works otherwise,
but videos show as totally black. Audio is however still playing from the video.
And even if i turn on transcoding in video assets (tried auto, vp8 etc.) still no change.

Using Unity version 2019.2.9f1, Windows 10.

What might be the issue here? I really would love to use batchmode and continue building working CI/CD pipeline, before our game development project grows more.

Could this be somehow related to LWRP ?

Any ideas fellow coders?
This is driving me nuts…

1 Like