Download

Need to save image data

I have a need to save the contents from a camera in a save file. The camera output has a render target which is then placed onto a plane. I need to save this image data, and load it so it can persist between game sessions.

I’ve tried a few things (none work) as what can be preserved is just a reference, not content on these.

Is there a blueprint way to memcpy this image data to a byte array? I could push / pull that in a save file. If not, a suggestion for the dev’s, add a memcpy to the BP’s.

If not, I could write a plugin, but that leads to another question. Do I need to write it in Java / Kotlin as well to work on a quest / Quest 2? Or do plugins work like Xamarin where your C# gets compiled for multiple targets?

UE4 - Save a procedurally generated texture as a new asset - Isara Tech.