I have created a struct with a few UPROPERTY members. The problem is that when I use this struct in Blueprint, the little yellow arrow appears next to every exposed member, even when they are set to their default values. How do I specify a default value for a UPROPERTY in C++ so that the Blueprint doesn’t display the little yellow arrow next to it. I’ve tried setting the default value both in the constructor and also in the header definition. Neither work, so there must be another way to do it?
You would do this in your class constructor.
Umm… if you read my post you will see that I already tried that and it doesn’t work. I’m assuming this must be a bug in the editor?