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

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 (free version)

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?