How to make FTextureRenderTargetResource->ReadPixels() work on server side?


I have to create an Actor that saves images of the camera on the server side.

If I’m calling the RenderTargetResource->ReadPixels() that is on the SavePng() on Unreal Editor, it works perfectly. Pixels are read and images saved without any problem.

But if I run my game only on server mode (UE4Editor path/to/MyGame.uproject -server) then my game fails when calling RenderTargetResource->ReadPixels().

I really need to read the pixels on the server side no matter if we have clients connected or not.

How can I do that? Is it possible?

Does anybody know if this is possible?