Im trying to change the mobility of the capsule component in PlayerStart, but it says Native components are editable when declared as a UProperty in C++. If anybody could help that would be great.
bump! I am having the same problem I am new to C++
Unreal doesn’t like when you try to change C++ components in the editor if they were not declared as a UPROPRETY().
Example for your C++ classes:
UPROPERTY(EditDefaultsOnly)
USceneComponent* MyCPlusPlusComponent;
You would then use the createdefaultsubobject() (See documentation) in the constructor to change what is assigned to the component that you wish to be editable in the editor.