I can not edit my components created in C++ in the editor
As you can see, he will not let me edit and this message appears:
native components are editable when declared as a uproperty in c++
some answer? from now thanks.
asked May 01 '19 at 08:37 PM in C++ Programming
I think the issue here is you declared TArray as UPROPERTY, but not the Pipelines themselfs. Just for the testing, do not use TArray, added them separately one by one object, and use UPROPERTY(EditAnywhere). I think it should work then. When I've had a similar situation where I need to have same things couple of times, and array of those, I would create each one separately and add them to array one by one after they are created.
you need to add "BlueprintReadWrite" after EditAnywhere. Editanywhere indicates the places it can be edit, for example, the property window, but still doesn't give permission for a blueprint to edit it. more info : https://wiki.unrealengine.com/UPROPERTY#BlueprintReadWrite
answered May 02 '19 at 06:00 AM
Pipelines[i]->CreationMethod = EComponentCreationMethod::Instance;
answered May 23 '19 at 07:26 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here