Skip to main content
New Participant
August 10, 2023

Render Texture used in cinematics persisting after scene change

When I run my game on a simulated environment through the Oculus Link, everything works fine.

However when I build the app and run it on the Quest 2, the view from the previous cinematic persists for the first few frames. 

I have already tried these methods:

RenderTexture rt = UnityEngine.RenderTexture.active;
UnityEngine.RenderTexture.active = myRenderTextureToClear;
GL.Clear(true, true, Color.clear);

myRenderTextureToClear.Release();
UnityEngine.RenderTexture.active = rt;

 

Yet the problem hasn't been solved.

Are there any android specific things that I should know about?

 

This topic has been closed for replies.