You need to specify a blueprint visibility property to access variables from blueprints. In this case UPROPERTY(BlueprintReadOnly)
should suffice.
EditAnywhere
does not allow blueprint access.
2 Likes