How to make the camera render RenderTexture if the camera is in another scene?

I created an inventory and it contains Raw Images from RenderTextures. But I have a lot of 3d gameobjects for inventory, and I have a lot of cameras for rendering in one scene. How to make the camera render RenderTexture if the camera is in another scene, and so that the RenderTexture contains a 3D gameobject in the main scene?

Not really an answer to your question, more of a general suggestion. I’ve made the mistake of using RenderTextures for inventories before, and it becomes very unoptimized very quickly. I’d suggest creating a sprite of each object, and using that, especially if you’re building for mobile, that is the best course of action.

When I used RenderTextures like that, a while ago now, I had each object in the inventory in the same scene, they were set to a specific layer that only one camera would render on…

I hope that helps in some way, again, I ended up just print screening the inventory items and taking the images into a photo-editing software, I then made the backgrounds of each image transparent, much, much better performance.