C++ Blueprint Callable Function Not Appearing In Editor UE 5.4.3

Hello, I having an issue where my c++ functions that are marked as BlueprintCallable are not showing up in the editor.

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Camera/CameraComponent.h"
#include "GameFramework/Character.h"
#include "StarDewBut3D/Public/Data/Interface/CharacterInterface.h"
#include "CustomCharacter.generated.h"

UCLASS()
class STARDEWBUT3D_API ACustomCharacter : public ACharacter, public ICharacterInterface
{
	GENERATED_BODY()
public:
	ACustomCharacter();

protected:
	virtual void BeginPlay() override;
	UFUNCTION(BlueprintNativeEvent)
	ACustomCharacter* GetCharacterRef();

public:
	virtual void Tick(float DeltaTime) override;
	virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
private:
	UPROPERTY(EditDefaultsOnly)
	UCameraComponent* PlayersActiveCamera = nullptr;

public:
	UFUNCTION(BlueprintGetter,BlueprintCallable)
	UCameraComponent* GetPlayersActiveCamera() const {return PlayersActiveCamera;}

	UFUNCTION(BlueprintSetter,BlueprintCallable)
	void SetPlayersActiveCamera(UCameraComponent* NewActiveCamera) {PlayersActiveCamera = NewActiveCamera;}

};

Edits* Not Good At Using Any Fourm Software Tried Making Blank Line And Formating
Edit2* Added Photo

image

This is most likely due to the BlueprintSetter flag. I dont remember why it does that or how to fix it but I do remember coming across this issue and removing the BlueprintSetter flag fixed it for me.

This Worked Thank You I Just Replaced Removed Setter And Had to Get Rid Of The Getter One Aswell And Set Those Via meta For The Getter I Replaced That With Pure And It Worked Thank You

image

edit* context

	UPROPERTY(EditDefaultsOnly,meta = (Getter = "GetPlayerActiveCamera", Setter = "SetPlayersActiveCamera"))
	UCameraComponent* PlayersActiveCamera;

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.