VideoPlayer has problem in Unity
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:
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:
