Good evening. I have set up a main menu map in my project and I added a main menu widget to it in blueprints. Now, whenever I launch the game in a standalone window, the menu appears and is fully functional. However, whenever I launch the actual game with my main menu map being set as both the editor default- and the server default map, the screen simply fades to black and remains so, until the game default map is loaded.
I am honestly a bit lost in this situation and wonder if any kind soul might have a solution for this issue.
In advance, I want to thank everyone for their response.
- In what role are you launching the game?
- Is it a dedicated or listen server?
- Do you have any session logic in place to host & join games?
Phew, those are some heavy questions but I will try to answer them to my best capabilities because I am probably not being very precise in the formulation of my problem.
• I attempted to launch the project in every net mode, to no avail. The screen remained black (I assume the menu map failed to load). The only thing noteworthy here is a series of error messages I received from launching it in the client net mode:
LogBlueprint: Error: [AssetLog] C:\Users\user\Documents\Unreal Projects\NinjaSlayerThird\Content\OnlineMenuSystem\MainMenu.umap: [Compiler] Spawn node Create Widget must have a class specified.
LogBlueprint: Error: [AssetLog] C:\Users\user\Documents\Unreal Projects\NinjaSlayerThird\Content\OnlineMenuSystem\MainMenuGameMode.uasset: [Compiler] Spawn node Create Widget must have a class specified.
LogBlueprint: Error: [AssetLog] C:\Users\user\Documents\Unreal Projects\NinjaSlayerThird\Content\OnlineMenuSystem\MainMenuGameMode.uasset: [Compiler] Spawn node Create Widget must have a class specified.
I am uncertain what class specified means in this context but refreshing the nodes seemed to have not resolved these error messages.
• The server type is a listen server. I am using the steam online subsystem to allow for players to host and join games.
• Finally, I do have session logic in place. I created a custom game instance which regulates players hosting or joining sessions. The issue is not with the game instance. As far as I can tell it was configured correctly, however I can provide the game instance blueprint for the sake of clarity:
Basically, when you click host or join a server in the main menu this causes the instance to either create a lobby, join a lobby or to display an error message.
I appologise if I am being too vague or unclear with my description I am quite bad at expressing myself when it comes to technical errors.
In either case I thank you very much for your questions kind Sir. I am truly grateful.
I made a quick bare bone project with host and join
I’m guessing perhaps your level setup might be wrong
Game mode or instance are not set correctly?
So I made very basic setup that shows how to achieve a host / join environment.
Ooof, wow, I am speechless.
Thank you very much for this you didn’t have to go through all these lengths for me but I thank you very much for your help, I’ll look into these files.
Also if you don’t mind me asking, may I inquire what version this project was built in.
I thank you again because it is not self evident that someone would go this far to help a newbie like myself.
It was made in unreal 5.1