Need to cast to GameModeHUD

Someone has mentioned this somewhere earlier, but for some reason, following the course to get the GameModeHUD, does not work.
I have to cast to GameModeHUD to be able to acces it.

That’s likely because your variable is set to be an object reference to UserWidget and not BP_GameMode_HUD.

Privacy & Terms