# Reparenting Blueprint class to C++ parent does not show details for inherited components

**URL:** <https://forums.unrealengine.com/t/reparenting-blueprint-class-to-c-parent-does-not-show-details-for-inherited-components/446935>\
**Category:** Blueprint\
**Tags:** classes, unreal-engine, bug-report, CPP, Blueprint, question\
**Created:** [April 9, 2019, 8:42pm UTC](https://forums.unrealengine.com/t/reparenting-blueprint-class-to-c-parent-does-not-show-details-for-inherited-components/446935 "2019-04-09T20:42:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrimlessBBS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrimlessBBS](https://forums.unrealengine.com/u/GrimlessBBS)\
**Post date:** [April 9, 2019, 8:42pm UTC](https://forums.unrealengine.com/t/reparenting-blueprint-class-to-c-parent-does-not-show-details-for-inherited-components/446935/1 "2019-04-09T20:42:48Z")

</div>

I started my project with a Blueprint-heavy inheritance hierarchy and eventually moved many of the base classes to C++. However, when reparenting the Blueprint classes to the C+±backed classes, the inherited components defined in C++ do not show anything in their Details panel in the Blueprint subclass.

Reproduction steps:

1. Create a BP-only inheritance tree. For example:

2. Add some ActorComponents to `MyClass_BP` and notice they show up correctly in the `MyChild` subclasses. Add some script references to the inherited actors and notice they behave as expected.

3. Create a C++ class, we’ll call it `AMyClass`

4. Reparent `MyClass_BP` to inherit from `AMyClass`.

5. Open `MyClass_BP` and select the inherited CameraComponent

6. Notice the CameraComponent’s Details inspector is empty or is missing properties for the component.

7. Notice that the scripts that consume the CameraComponent see it as “None”

Expected Results:  
Components inherited from C++ classes and properly constructed using `CreateDefaultSubobject` in the C++ class’s constructor should display their Details, should not be None in scripts, and should behave exactly the same as other components when reparenting BP classes.

Actual Results:  
Inherited components that come from a C++ base do not show their Details in the inspector window and are None in scripts after reparenting an existing BP class to the C++ base.

Reproducibility:  
Even after recompiles, restarts, and other tactics to clear build data, this issue persists. This appears to be a common issue, but is not consistent.

Severity:  
Severe. Anyone attempting to refactor their project to take advantage of a C++ base class will have their entire BP hierarchy _DESTROYED_ by this bug.

---

<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:** [April 10, 2019, 1:37pm UTC](https://forums.unrealengine.com/t/reparenting-blueprint-class-to-c-parent-does-not-show-details-for-inherited-components/446935/2 "2019-04-10T13:37:49Z")

</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:** ![GarnerP57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarnerP57](https://forums.unrealengine.com/u/GarnerP57)\
**Post date:** [April 10, 2019, 2:07pm UTC](https://forums.unrealengine.com/t/reparenting-blueprint-class-to-c-parent-does-not-show-details-for-inherited-components/446935/3 "2019-04-10T14:07:07Z")

</div>

Have you tried to add `meta=(AllowPrivateAccess = "true")` to the UPROPERTY macro since you declared it as a private variable?

```
private:
UPROPERTY(
Category="Components"
, EditAnywhere
, BlueprintReadWrite
, meta=(AllowPrivateAccess = "true"))
UCameraComponent* CameraComponent;
```
