now when I get the array and get the UENUM’s value and try to print it out, (as shown in the picture) it always goes through the first execute pin (control Remapper) no matter what the UENUM’s value is actually set to. I’m sure that it’s set correctly to different values because if i try to log it directly from C++ using UE_LOG it logs the correct value.
I’m using it because if I just type the Enum’s name I get this error:
Error: You cannot use the raw enum name as a type for member variables, instead use TEnumAsByte or a C++11 enum class with an explicit underlying type.
Hi FSapio, sorry I took very long to reply.
I’ve tried changing it to enum class EPickupItemType: uint8 and declaring the enum variable as UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item Properties") EPickupItemType ItemType;.
But to no avail. The problem still persists. Nothing changed.