Struct setter has no nodes to set with

What it shows up like:

The structure:

USTRUCT(BlueprintType)
struct FItem : public FTableRowBase
{
	GENERATED_USTRUCT_BODY()
	
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		FName ID;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		FName Name;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		FString Description;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		UTexture2D* Icon;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		UStaticMesh* WorldMesh;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		bool IsStackable;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Item")
		int Amount;

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item")
		int MaxAmount;
};

I’m trying to edit “Amount”.

The members have the property set on them of BlueprintReadOnly, change that to BlueprintReadWrite, and see if that helps.

The variable “Amount” has BlueprintReadWrite. That’s the only variable I want to change.

Unless you mean every variable needs to be BlueprintReadWrite?

My apologies, didn’t see that the one was set, and no you shouldn’t have to set them all, they are controlled individually, or else we are all wasting a lot of typing time! lol

if you split the pin structure, for the setting, the “amount” is not there?

If you Right click the Struct ref, you can then “Make Struct”.

You might have to Break struct from where it came from, edit the Amount in between and then push every link into the make struct node.

Is this what you meant?

It is, but isn’t that just getting the variables? I thought when you set a variable the pin will be on the left side - not the right.

How do I do that when my structure is from an input parameter in a function? I can get a “make item” off of the struct ref, but that isn’t changing the Item I want to change. I’m actually not quite sure what it’s changing.

Right click on the Struct Ref, on the right side, that should break apart the Reference for the input, and allow you access to the “amount” member.

.

I right clicked the struct ref pin on the right side of “set members in Item” and I got this:

How do I use that to set Amount?

my apologies, I meant the left side with the “diamond” for the input pin

Just found out about this myself less than an hour ago- fortunately it’s an easy fix. Click on the Set Members in Struct node, and on the details panel, you’ll be able to select via checkboxes which of the struct’s variables you want to expose and set via the Set Members in Struct node.

Yep, that works!

in my case all checkboxes are simply missing :frowning: any ideas what could cause this behavior?