# Data-Only Blueprint (derived from C++)

**URL:** <https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878>\
**Category:** C++\
**Tags:** unreal-engine, Blueprint, question, UE4-27, CPP\
**Created:** [September 1, 2022, 11:11am UTC](https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878 "2022-09-01T11:11:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![frost\_FX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frost\_FX](https://forums.unrealengine.com/u/frost_FX)\
**Post date:** [September 1, 2022, 11:11am UTC](https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878/1 "2022-09-01T11:11:59Z")

</div>

Hey!

How do I get Blueprint class that I inherit from at C++ parent, that will IMMEDIATELY and DEFAULT be data-only?  
When I create class with no logic, but only data, the first time it opens its Blueprint editor, I get this:

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/d/05df429ce0d30cb878f5f0450feca6c456a1d616.png)

If I close and reopen this Blueprint, I get this:

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/4/4346ef89102e723b770aef0c24d52bb573919ff5.png)

What needs to be changed in behavior of C++ class so that its Blueprint looks IMMEDIATELY like in Second screenshot? UObject flags, constructor changes, some UClass specifiers? I’ve tried a lot, but achieved nothing…

---

<div class="post-metadata">

**Author:** ![herb64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herb64](https://forums.unrealengine.com/u/herb64)\
**Post date:** [September 1, 2022, 2:28pm UTC](https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878/2 "2022-09-01T14:28:28Z")

</div>

Reading your post, I remember, that I had the same ‘issue’ and found, that reopening worked - so I did not care about that.  
Maybe you already found [this very old thread](https://forums.unrealengine.com/t/how-to-create-data-only-blueprint/285027), which describes the same behaviour.

> Also note that if you create a Blueprint derived from a C++ class, it will appear to be a full Blueprint the first time you open it. You might have to close and reopen it for it to be recognized as Data-only.

So it looks like it is a “works as designed” and nothing did change since then…

---

<div class="post-metadata">

**Author:** ![frost\_FX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frost\_FX](https://forums.unrealengine.com/u/frost_FX)\
**Post date:** [September 1, 2022, 3:44pm UTC](https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878/3 "2022-09-01T15:44:39Z")

</div>

I would also think this behavior is “by design”, but engine has assets that implement exactly what I (we) need - first time we open Blueprint, we get the Details window and only it, without unnecessary garbage and graph. However this is not a “pure” class, since such things should be called Assets and are available from the create menu of something.  
Here is an example (Add/Import button, Foliage \> StaticMeshFoliage):

 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/0/100cbbbda669b2bf4915fb21223ba2b2b837a7ef.png)

As a result, this can only be done with engine sources and/or if you really add your own type of asset?

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [September 1, 2022, 6:11pm UTC](https://forums.unrealengine.com/t/data-only-blueprint-derived-from-c/638878/4 "2022-09-01T18:11:00Z")

</div>

I think the assumption is that most of the time when you create a blueprint you’ll be adding some logic to it, and Epic probably special cased this to occur this way.
