Download

Problem when adding a property

Ok, I have a custom Weapon.h / Weapon.cpp someone else worked with but the crosshair works perfectly. crosshair.PNG

But then I just add 2 new UPROPERTYs

Now the Crosshair doesnt work properly even though in the BP editor its set ok and been recompiled.

brokencrosshair.jpg

Any suggestions why? its still showing the correct crosshairs in the BP editor
crosshairblueprint.png

I don’t think there is enough information here to give the best answer.

Do you have examples of the code in the header and cpp files? If you only remove the lines from the header, does the crosshair work again?