# How to consolidate variables with the same name and type into a single parent class?

**URL:** <https://forums.unrealengine.com/t/how-to-consolidate-variables-with-the-same-name-and-type-into-a-single-parent-class/2834621>\
**Category:** Blueprint\
**Tags:** parent, data-asset, migrate, unreal-engine\
**Created:** [September 27, 2026, 7:48am UTC](https://forums.unrealengine.com/t/how-to-consolidate-variables-with-the-same-name-and-type-into-a-single-parent-class/2834621 "2026-09-27T07:48:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SemanticRain619](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Post date:** [September 27, 2026, 7:48am UTC](https://forums.unrealengine.com/t/how-to-consolidate-variables-with-the-same-name-and-type-into-a-single-parent-class/2834621/1 "2026-09-27T07:48:34Z")

</div>

I want to assign a common parent class to the primary data assets I created individually, so that they can share common functions. And I would like to move and consolidate a class—sharing the same name and type—into a parent class.

How can I migrate it without losing references or the contents of data assets? The variables to be migrated are those of the int, string, and text classes.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [September 27, 2026, 9:22pm UTC](https://forums.unrealengine.com/t/how-to-consolidate-variables-with-the-same-name-and-type-into-a-single-parent-class/2834621/2 "2026-09-27T21:22:31Z")

</div>

Not at workstation right now to doublecheck. But I think you can just add the vars to the target pda (names have to be exactly the same), then right click a data asset on content browser and hit convert data asset type.

---

<div class="post-metadata">

**Author:** ![SemanticRain619](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Post date:** [September 28, 2026, 8:43am UTC](https://forums.unrealengine.com/t/how-to-consolidate-variables-with-the-same-name-and-type-into-a-single-parent-class/2834621/3 "2026-09-28T08:43:18Z")

</div>

This worked to some extent. However, about half of the nodes resulted in errors and required manual changes. My case was small-scale, so it worked, but it might not be very useful for larger-scale cases.
