I cant access blueprint variables on blueprint class UE5

Hello everyone, I create a float variable in VS with UPROPERTY, but when I try to access that variable on the UE5 Blueprint class, I can’t get it.

Here is what I did

*/
UCLASS( Blueprintable );
class PROYEKT_API UMyObject : public UObject
{
GENERATED_BODY()
public:

UMyObject();

UPROPERTY(BlueprintReadWrite, Category = MyCharacter)
float MyFloat;

UFUNCTION(BlueprintCallable)
void MyFunction();

};

Thanks for your attention and help :slight_smile:

I think you also need EditAnywhere in your UProperty

1 Like

EditAnywhere if you want to show it on panels. To show it on the MyBlueprint panel on a deriving class you should not forget to tick this checkbox, else it won’t show up: