# Inherited PlayerInventory component, when added to the Character, shows empty details panel in the editor 

**URL:** <https://forums.unrealengine.com/t/inherited-playerinventory-component-when-added-to-the-character-shows-empty-details-panel-in-the-editor/2546780>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Components, question\
**Created:** [June 8, 2025, 1:04pm UTC](https://forums.unrealengine.com/t/inherited-playerinventory-component-when-added-to-the-character-shows-empty-details-panel-in-the-editor/2546780 "2025-06-08T13:04:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manngshen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@manngshen](https://forums.unrealengine.com/u/manngshen)\
**Post date:** [June 8, 2025, 1:04pm UTC](https://forums.unrealengine.com/t/inherited-playerinventory-component-when-added-to-the-character-shows-empty-details-panel-in-the-editor/2546780/1 "2025-06-08T13:04:59Z")

</div>

I’m having a problem writing my own backpack system, I created a C++ component called ItemsContainer and then inherited it to create a PlayerInventory component. When I add the PlayerInventory component to the Character, the detail panel of the component is completely empty, but if I add the ItemsContainer, the detail panel is visible. Or if I add PlayerInventory component directly to Character’s blueprint, I can see it, I don’t know what’s the problem.

Translated with [DeepL.com](http://DeepL.com) (free version)

---

<div class="post-metadata">

**Author:** ![Kemichar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kemichar/32/1069671_2.png) [@Kemichar](https://forums.unrealengine.com/u/Kemichar)\
**Post date:** [June 8, 2025, 1:21pm UTC](https://forums.unrealengine.com/t/inherited-playerinventory-component-when-added-to-the-character-shows-empty-details-panel-in-the-editor/2546780/2 "2025-06-08T13:21:03Z")

</div>

Could you make sure your component pointer in C++ has the `UPROPERTY(VisibleAnywhere)` specifier?

If that doesn’t fix it, could you please screenshot your .h and .cpp and BP and post it here?
