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
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.prepareCompleted += (player) => {
    player.targetTexture = new RenderTexture((int)player.width, (int)player.height, 0);

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.