C++ code doesn't change options in the Blueprint

I am following the Basic FPS tutorial and got stuck on section 2.8 - Adding a First-Person Mesh to Your Character

At the end of the first section, I should have not been able to see the character mesh because of this:

GetMesh()->SetOwnerNoSee(true);

When I could still see the mesh, I went to the Blueprint editor and found ‘Owner No See’ was false with a little yellow arrow that said ‘Set to Default’. I tried changing other options in C++ with the same result: they don’t actually change, and I have to override them in the Unreal Blueprint window before they get applied. How do I fix it so I don’t have to do this?

Also, I tried compiling from VisualStudio and in the Unreal Engine and it produces the same results.

ok so this worked form me but with a actor component for some reason i had to delete my original character and go to the c++ class and right click on it and hit create a blueprint derived from c++ class and it magically worked dont know if that will help but its worth a try