Hey.
I’m having an issue with my render textures where the textures are going blank at multiple times. Our render cameras are being turned off when they have done rendering the required images for performance reasons and also the camera.active properties of the render cameras are being set to false again for performance.
In the WebPlayer build the texture information is getting flushed when resizing the browser window, also when switching tabs.
In the PC Unity build the textures get flushed in a compiled .exe build when the exe is alt tabbed out of and bought back into focus again.
So far I have tried Application.runInBackground but this had no effect. I then also tried the void OnApplicationFocus(bool toFocus) function which I thought would activate when the screen application if focused on and off, and in here I called a function which tells all my render cameras to render again, but again this had no effect.