RenderTexture Array

I made an ArrayList where I add a RenderTexture from a camera every frame (OnPostRender()).

void OnPostRender()
{
  replayFrames.Add(renderTexture);
}

and I tried to display one of these RenderTextures in GUI.DrawTexture (hardcoded which one), but other than expected I did not get just that one image, but a live view of the camera.

GUI.DrawTexture(new Rect(100,400,256,256),(Texture)replayFrames[315]);

as you might see from the way the variables are named this is supposed to become a camera to show a replay. Appreciate if anyone has some insight on this or can link me to a similar forum post that I missed, thanks

Rendertextures don’t store frames…you could make an array of textures and use ReadPixels to accomplish this, but keep in mind it will be highly memory-intensive and probably not very fast.

–Eric