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.
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.