# How do I serialize a texture created using Render Target Create Static Texture Editor Only?

**URL:** <https://forums.unrealengine.com/t/how-do-i-serialize-a-texture-created-using-render-target-create-static-texture-editor-only/146748>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [July 1, 2020, 1:17am UTC](https://forums.unrealengine.com/t/how-do-i-serialize-a-texture-created-using-render-target-create-static-texture-editor-only/146748 "2020-07-01T01:17:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 1, 2020, 1:17am UTC](https://forums.unrealengine.com/t/how-do-i-serialize-a-texture-created-using-render-target-create-static-texture-editor-only/146748/1 "2020-07-01T01:17:24Z")

</div>

I have an object that captures a camera to a rendertarget on a particular event, and then creates a static texture object out of it, and then configures a material instance instance to give it a reference to this texture.  
Unfortunately, when I save and reload the level, or when I start a game, this texture value on the material instance has not been saved/serialized, and starts out as null again.  
How do I make this procedurally created texture persistent? (Note: I don’t want a name in the asset browser for this texture, I just want to store the texture for later use when the game runs.)

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 1, 2020, 6:39am UTC](https://forums.unrealengine.com/t/how-do-i-serialize-a-texture-created-using-render-target-create-static-texture-editor-only/146748/2 "2020-07-01T06:39:40Z")

</div>

Reading some more code, I don’t think this is possible – it has to have a name. And if that asset name already exists, it will create a new one, so I have to clean up the old ones. Oy gewalt!
