# Animation montage section metadata is not serializable

**URL:** <https://forums.unrealengine.com/t/animation-montage-section-metadata-is-not-serializable/353277>\
**Category:** Character & Animation\
**Tags:** unreal-engine, CPP, question\
**Created:** [April 7, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/animation-montage-section-metadata-is-not-serializable/353277 "2016-04-07T12:27:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_357b6e5a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_357b6e5a](https://forums.unrealengine.com/u/anonymous_user_357b6e5a)\
**Post date:** [April 7, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/animation-montage-section-metadata-is-not-serializable/353277/1 "2016-04-07T12:27:57Z")

</div>

Hi. I have a next issue. I was created a custom metadata class:

```
UENUM(BlueprintType)
enum class ESkillAnimationType : uint8
{
	Default = 0,
	ThrowHand
};

UCLASS(Blueprintable)
class UAnimMetaDataSkillCastAnimation : public UAnimMetaData
{
	GENERATED_UCLASS_BODY()
public:
	UPROPERTY(EditAnywhere)
	ESkillAnimationType Value;
};

```

Then I have selected it in the animation montage section metadata.

![85756-works.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/5/1f56c85d637f841e38eaf06f99200adb913dd2cb.png)

After editor was restarted metadata was missed

![85757-bug.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/a/60a234027687ce4744e170415ee6d3a657247b13.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 8, 2016, 3:56pm UTC](https://forums.unrealengine.com/t/animation-montage-section-metadata-is-not-serializable/353277/2 "2016-04-08T15:56:17Z")

</div>

Hey v.s.-

I was able to reproduce the issue with the meta data not being saved after restarting the editor and have entered a bug report (UE-29228) for further investigation. I did notice that if you set the meta data in the Anim Asset Details panel, this setting does remain after a restart. I am not familiar with setting up an AnimMontage but this may allow you to set the meta data without having to set it again when restarting the editor.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_357b6e5a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_357b6e5a](https://forums.unrealengine.com/u/anonymous_user_357b6e5a)\
**Post date:** [April 8, 2016, 4:06pm UTC](https://forums.unrealengine.com/t/animation-montage-section-metadata-is-not-serializable/353277/3 "2016-04-08T16:06:04Z")

</div>

Thanks. I think that reason is in serialization of the FCompositeSection which not an UObject.
