# Sprite Asset Set as Default Value In a Struct is Set To None When That Sprite is Renamed and Engine Restarted

**URL:** <https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000>\
**Category:** Asset Creation\
**Tags:** UE4-22, sprites, unreal-engine, bug-report, question, structs\
**Created:** [September 8, 2019, 9:57pm UTC](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000 "2019-09-08T21:57:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agent\_Sckit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Post date:** [September 8, 2019, 9:57pm UTC](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000/1 "2019-09-08T21:57:59Z")

</div>

Good day. I have a problem with regards to renaming sprite assets. The issue is that setting default values for a sprite in a struct and **renaming the sprite after** would result in its default value to reset to “none” _after the engine is restarted_. Listed below is the method to reproduce it.

- Create a blank project
- create a sprite object in the content browser
- create a struct
- add a object of type **sprite object** in the struct
- put the sprite you made as a default value on the object
- rename that sprite that was set as default value
- save all
- restart the engine
- after that the object in the struct has a default value will be set to _none_ already

Expectation: the renamed sprite should still be the default value of the struct.  
Many thanks!  
Engine Version: 4.22.3

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [September 9, 2019, 7:13pm UTC](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000/2 "2019-09-09T19:13:47Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://epicsupport.force.com/unrealengine/s/](https://epicsupport.force.com/unrealengine/s/)

Thanks

---

<div class="post-metadata">

**Author:** ![Agent\_Sckit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Post date:** [September 10, 2019, 12:47am UTC](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000/3 "2019-09-10T00:47:24Z")

</div>

Thanks for the info. I have already sent the report to the team.
