Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

VideoPlayer has problem in Unity

dhygnsdhygns Posts: 1
NerveGear
whenever i try to play videoPlayer, it's shown as black texture with audio. 
and also sometimes, A videoPlayer shows the other videoPlayer's clip frozen.
Do you guys have any idea?

i simply coded like this : 
```
videoPlayer.clip = Resources.Load(path) as VideoClip
videoPlayer.Prepare();
videoPlayer.prepareCompleted += (player) => {
    player.targetTexture = new RenderTexture((int)player.width, (int)player.height, 0);
    player.Play();
}

```
Pretty surely, I'm using the targetTexture for rendering in the other script.
it works well in editor, but if i build into Oculus Quest, it doesn't work.

plz help me :neutral:
Sign In or Register to comment.