I need an ingame radar

Well, to begin with, we need to know what you did that managed to get it working in the packaged game.
It’s likely you added the widget creation on something that was not part of the player character BP - maybe the Game Mode since it shows across several other widgets.

You most definitely need to initialize this widget only when necessary - ei: the player loads in - onbeginplay.

Possibly, you could also delay it’s spawning with a Delay node - if say, you wanted it to load slightly after the player starts to exist. It really all depends on the need and the setup.