Saving render target to .png and exporting

Hi All,

I’ve never found an answer to this, but how do you export a png file created from a render target that can be opened outside of Unreal Editor?

I can successfully export a render target to a png from my blueprint using ‘Export Render Target’. However, When I try and export it out of UE Editor, the png file in explorer doesn’t have anything in it (even though it does show a file size that suggests there is information in the file).

Has anyone figured out how to create a png file from a render target that will work outside of Unreal Editor?

Thanks!

i don’t think it always exports a png

you might wanna set the format of the RT to be RGB8 or simil.

Thanks. I’m setting it to RGBA8 but no dice. :frowning:

Have you found a solution to this? I’m trying to save a png and it exports blank.

Sadly no. I was thinking maybe it only saves to png if done in the editor, not in play mode, but I’m not sure. It’s frustrating though as I don’t understand why it can’t save out to png as that’s literally what the node is designed for.

Try with these setting, for me it work for in editor and play mode.

RT

Export

*It from a scene capture component which contain an RT.

2 Likes

Works like a charm!! Thanks so much!!

1 Like