How can i get access to HUD class without a player controller?

the main menu in my game is in a different level and in that level i only have a camera for my menu’s background, so i don’t need to spawn any character or pawn, my menu is created in the HUD class so that its accessible from anywhere, but i can’t get access to that via the game mode, it gives me error.