UserDude
UserDude

Reputation: 323

Unity transparent video player doesn't show up on device?

Ok Im using an alpha channel video on a render texture to play a UI video in Unity. I have my video player set up like this:

enter image description here

Feeding to an image in my canvas:

enter image description here

This works in editor, however on device nothing shows up. Why is this?

Upvotes: 0

Views: 842

Answers (3)

Siva
Siva

Reputation: 359

It could be any of the following reasons, which is described on unity doc.
please check with this.
Android Notes

* Support for resolutions above 640 x 360 is not available on all devices. Runtime checks are done to verify this and failures will cause the movie to not be played.
* For Jelly Bean/MR1, movies above 1280 x 720 or with more than 2 audio tracks will not be played due to bugs in the OS libraries.
* For Lollipop and above, any resolution or number of audio channels may be attempted, but will be constrained by device capabilities.
* The Vulkan graphics API is not yet supported.
* Format compatibility issues are reported in the adb logcat output and are always prefixed with AndroidVideoMedia.
* Also pay attention to device-specific error messages located near Unity's error messages: they are not available to the engine, but often explain what the compatibility issue is.
* Playback from asset bundles is only supported for uncompressed bundles, read directly from disk.

Upvotes: 0

Wali Seddiqi
Wali Seddiqi

Reputation: 466

The video player doesnt support in Personal version

Upvotes: 0

Di Zhang
Di Zhang

Reputation: 346

may be your shader is stripped by Unity, try add them to AlwaysIncludeShaders: enter image description here

Upvotes: 0

Related Questions