Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
rjstarwars's avatar
rjstarwars
Explorer
2 years ago

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?

 

Replies have been turned off for this discussion