Issue with Variable Type Recognition

I’m currently working on a project in Unreal Engine 5.2 and facing an issue with variable type recognition. In my project, I have two Blueprint classes: BP_PlayerCharacter and BP_GameHUD.

In BP_PlayerCharacter, I’ve created a variable called HUD REF, with its type set to BP_GameHUD. The “Instance Editable” checkbox is checked to allow me to set it externally.

However, when I try to set the HUD REF variable in the BP_GameHUD class, it unexpectedly appears as a Boolean type instead of the expected BP_GameHUD type. This is causing conflicts and preventing me from setting the variable correctly.

I’ve already verified the variable type in BP_PlayerCharacter, saved the Blueprint, and reopened the BP_GameHUD class. I’ve also ensured that I have placed instances of BP_GameHUD in my level.

I’m not sure what’s causing this issue or if I missed any crucial steps. Any guidance or troubleshooting tips would be greatly appreciated.

I hope you could help me M/Dan

It sounds like you have the variable HUD REF in the player BP and the BP_GameHUD.

Thye are not related, so one can easily be a hud ref, and the other, an bool.