Hello, I am creating an in-game map system and I would like to use my Render Target as an Image (Texture) for my map directly. So once you press play and have made changes to the map it should update automatically. I currently have this Solution:
But the problem I have with this is that it creates a NEW texture file each time instead of overwriting the old file. I since learned its impossible to overwrite within Unreal Engine. So now my question is: Is there any easier/other way to show the render target as the map. It doesn’t have to update during runtime, only on pre-construct of the widget, which is where this code also is now. I have already tried using a material instance for the brush since Set brush from Material is a function, but even though this works, on bigger maps like mine this only renders in assets close to the player and when the player fast travels to the top left of the map for example, the bottom right wont be visible at all because obviously, the assets and structures over there don’t have to render in when the player isn’t close to them. So a material instance isn’t a solution for me since the map doesn’t even have to update during runtime, only on pre-construct.