Download

MultiLineEditableTextBox causing errors as a UProperty in 4.24.1

I’m building a Widget Blueprint base class in c++ for a subtitle system. Part of that involves having a UMultiLineEditableTextBox reference variable as BlueprintReadWrite. This all worked fine when build in 4.24.0, but I just updated to 4.24.1 and am copying over code. For some reason, when the text variable is tagged as a UPROPERTY(), the build fails with a LNK2019/LNK1120 error. Any ideas what could be causing this?

VRSubtitle.h


#pragma once

#include "CoreMinimal.h"
#include "WidgetBlueprint.h"
#include "Blueprint/UserWidget.h"
#include "UMG/Public/Components/MultiLineEditableTextBox.h"
#include "VRSubtitle.generated.h"

/**
 * 
 */
UCLASS()
class VRBOOK_API UVRSubtitle : public UWidgetBlueprint
{
    GENERATED_BODY()

public:

    UFUNCTION(BlueprintCallable, Category = UI)
        void SetSubText(FText NewSubtitle);

    UPROPERTY(BlueprintReadOnly)
        FText SubtitleText;

    UPROPERTY(BlueprintReadWrite)
        UMultiLineEditableTextBox *text;
};

VRSubtitle.cpp


#include "VRSubtitle.h"

void UVRSubtitle::SetSubText(FText NewSubtitle) {
    SubtitleText = NewSubtitle;
//    text->SetText(SubtitleText);
}