Good afternoon, colleagues.
Faced a problem, I need to mark the fields of the object as deprecated and it is important that messages about this are visible to those who work in blueprints.
Here’s a quick example of what we want:
struct FMyStruct
{
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (DeprecatedProperty, DeprecationMessage = "Use Size instead."))
FMyStructA StructA;
};
We expect that if someone reads StructA in blueprint, they will be notified that the field is deprecated. But unfortunately we didn’t succeed.
We also tried this option - Deprecating UPROPERTY - Feedback & Requests - Epic Developer Community Forums
But we cannot use it because we are working on a plugin and cannot change the name of the variables to Name_DEPRECATED.