Disable Gui on RenderTexture

Hi there,

I’m working on a project where you have to take snapshots of certain in-game objects.
The thing is that there are some GUI on screen I do not want to render the moment the player takes a picture.

Anyone knows a solution to this?

Try use

camera.Render();
            tex = new Texture2D(Screen.width, Screen.height);
            tex.ReadPixels(new Rect(0, 0, Screen.width, Screen.height), 0, 0);
            tex.Apply();

I already achieved the rendering part, I want to exclude the GUI from rendering onto the texture.

use 2 cameras, one for world and one for ui, with correct depths and take the screenshots from the world camera.

Could you elaborate on that a bit more?
I already use 2 different cams to switch between third person view and the “camera”.

Both display the same UI info.

NVM then, solved it by using a delayed function.

Thanks for the help anyways =D