UPROPERTY don't show in Blueprint correctly

hello
i have a problem
i want to creat a sphere component in c++ for my NPC to test collision with my char
here is the code !

and this is the BP :

and also the other dosent appear in the variable !!

plz help and sorry i’m learning c++ .

Hi Amiot,

It seems like this line of code that set the value of the radius was added to the constructor after this blueprint was made. To change the value to the default that is being set in code for an already existing blueprint, hit the yellow arrow beside the display of the value and it should reset it to the default (120.0 in this case.)

Hope this helps!

Matthew Clark

thank , i figured out by changing VisibleDefaultsonly to EditDeafultsOnly , thanx !