Performance issue on 'Draw material to render target' node

Hello everyone,

I am doing a tool to pack textures into unreal engine (5.1).
To make this tool I am using blueprints following those steps :

  • Create render target (create in blueprint not referenced in variables)
  • Transfer data to material
  • Transfer material to render target
  • Transform render target to texture (I don’t store generated texture into variable)

I am doing those steps by pressing a button in editor (no runtime, no tick) via editor utility widget.

I noticed that the node ‘Draw material to render target’ is killing my VRAM on a 4K render target.
The blueprint make it works but this causes the editor to freeze every 5 seconds (No impact on framerate).

Is it normal behavior for this node to consume VRAM even when the operation is over ?

My only solution is to restart the engine.



Here are screenshots, before pressing button 2.3Go VRAM, after pressing button 7.2Go VRAM until I close the editor.

Thanks you for answers.