Can't edit Mesh in the Editor with UPROPERTY
Already tried with EditAnywhere. Same problem.
I don't want to make my MeshComp public, so I can't use BlueprintReadWrite
Thank you for the screenshot. I see why you aren't able to edit it now. You are looking at this inside of a blueprint. If you wish for this UStaticMeshComponent to be accessible in Blueprints, you'll need to use the BlueprintReadWrite, or BlueprintReadOnly if you only want to see it, specifier in your UProperty declaration as well. It is also not always safe to assume that a Component is going to work the same way as a variable, as they are vastly different. There is not a gap of documentation in this respect, as there are resources that explain this such as this tutorial: https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gYup-gvJtMsgJqnEB_dGiM4/
Another thing to keep in mind is that UE4 is an ever changing engine. I understand that the lay out may have been different in 4.13 but there have been many changes since then. If you do wish for the editor to stay the same, there is nothing wrong with staying on an older version of the editor for development, as upgrading to a newer version will often pose problems for existing projects.
try to make it "Protected" instead of "Private"
answered Oct 13 '17 at 05:24 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here