Can't edit CollisionBox created via C++ in Blueprint Viewport

Hi,

I want to create a CollisionBox for my weapon so I added a UPROPERTY with UBoxComponent* and initialized it in the constructor using CreateDefaultSubobject. The component is created correctly but I can’t edit it in the viewport of the blueprint, I want to move the box and resize it to take only the blade of my axe. But the details pane is completly empty.
image
image
image


image

Thank you for your time,

So I managed to get it work, but it’s strange, what I did was remove everything related to the box from .h file and .cpp, close editor build everything, run editor again to check everything, then create the property on .h and the code in constructor in .cpp, close editor again, build and then restart the editor, and now it’s working.

If anyone stumbles upon this thread and the proposed solution from rbey does not work, take a look at this thread too

yeah. no magic.
only need to restart.