Is there a way to stop Render Target textures replication?

Hi everyone.

Does anybody know if there’s a way to stop render target textures from replicating? (in blueprints)

If I create a camera that captures to a render target texture and displays that texture in a material, every player sees the same texture. In other words: no matter who’s the owner of the camera capture, the rendered texture is displayed in every player’s computer.

EDIT: The problem is the “Draw Material to Render Target” node. Even with local material instances it draws to the render targets of all clients apparently.

Thanks in advance for any thoughts!

A property replicates if its actor replicates and the property is set to replicate.

It sounds to me like what’s actually going on, is that the same code is run on all the clients, and they then end up each rendering the same thing. If you want them to see different things, make sure the camera they each render from is in different positions for each client.

alternatively you’re using a single render target asset, and running multiple clients in the same process, and they all use the same global object, which is a drawback of the “play in editor” way of testing multiple clients.

2 Likes

Yeah, I think playing in editor with multiple clients is exactly the problem. Executing the project in two different processes doesn’t produce this issue anymore.

Thank you very much!

I was trying to solve this non-issue in my project for a while, THANK YOU.