Announcement

Collapse
No announcement yet.

UMG menu not working in standalone build

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UMG menu not working in standalone build

    I replaced my main menu with one built in UMG. It works with 2 clients and a standalone server, but when I try to run a standalone build, it just shows up as a black screen. Is this a problem with UMG or is this something that I am doing wrong? If it is a UMG problem, is there something I can do to work around the issue for now?

    #2
    So here is what I did to get it to work properly. I forced the dependency in the .uproject file, I forced the module to load it. I made a separate controller, game mode, game state and HUD for the main menu. I load the menu from the main menu map and override the world settings with the main menu's.

    Forcing dependency in the .uproject's module section:
    {
    "Name": "UMG",
    "Type": "Runtime",
    "LoadingPhase": "Default"
    },

    Forcing module to load UMG in our GameInstance.cpp (in both the Init and InitPie functions just in case):
    FModuleManager::Get().LoadModule("UMG");

    Comment


      #3
      This should be fixed in 4.5 - Tried adding a UI to shooter game and then cooked, showed up without needing to do anything extra.

      Comment

      Working...
      X