Instant crash when multiplayer

When I enable multiplayer for my game, it instantly crashes when I play it, regardless of PIE, Standalone or New Window.
I tried to create a new project, everything worked fine using the First Person Shooter template.
I included the error dump log, and it doesn’t seem to be my fault. I literally copied everything from FPS.
Thanks in advance.
link text

I started from a blank project without template nor starter content.
I am getting a crash reporter window, but it says that I haven’t the character to see this message (? whatever this means)
And, as I said, I am unable to reproduce this issue with a blank project, so is there a way to fix this ? Just recreate the project and reimport everything ?

But, as you can see from the crash dump, the issue is not on my side, because CreateNamedNetDriver fails every time. I followed theses steps in order to make my game multiplayer, and so I don’t see why it fails. I removed all my content from the game, but it still crashes, The game works perfectly fine in singleplayer though. And is totally made in Blueprint.

Hey Moddingear,

  • Which template are you working in when you’re seeing this crash occur? For multiplayer setups, I highly recommend starting with a completely blank project and working your way up from there, as the templates don’t support multiplayer very well without heavy modification.
  • Are you getting a crash reporter window? If so, please provide your LoginID and ensure to hit Send & Close on the report.
  • Are you able to reproduce this issue in a clean project? I’ve tested this in a few of my networking test project using various Online Subsystems and I haven’t seen a crash occurring. Which OSS are you working with?

Since you’re unable to recreate the issue in a clean project, it leads me to believe that you’ve missed a step somewhere that could’ve caused the issue.

Take a look at the following guide for setting up multiplayer if you get stuck: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

I don’t recommend migrating content from one project to another in this case, as it’s possible that the content is what is causing the crash. What I’d recommend for you in terms of debugging the project would be to rebuild it piece by piece from scratch until it begins to crash. If it does crash, then you’ll be able to identify which asset is causing the issue. If it doesn’t crash, then great! Then that means it’s possible that there was a setting missed or something.

Let me know if you have further questions.

Have a great day

Where can I find this ? Is it this file, and if yes, does the error comes from this specific configuration ? I found it in Intermediate/Config/CoalescedSourceConfigs

EDIT 1 : The server doesn’t allow me to send it, i’ll pastebin it

EDIT 2 : Here is the pastebin link of DefaultEngine.ini : [Launch][/Script/EngineSettings.GameMapsSettings]GameInstanceClass=/Script - Pastebin.com

The issue lies somewhere in the setup for that project. If you attempt to recreate it as I suggested, you can figure out which part is causing the issue to occur. I have created multiple networking projects with no crashes, and this is what leads me to believe that the issue is not a bug with the engine. You need to make sure you have your Online Sub System defined in your DefaultEngine.ini file. Whether you’re using Steam or the NULL subsystem, you still need to make sure that it’s defined in your config file or it could cause the Net Driver to fail.

Please refer to the wiki guide I linked in my original answer for tips on how to set up multiplayer. This includes the necessary information that you’ll need to paste into your DefaultEngine.ini file. This is located in your project’s Config folder.

Have a great day

I tried to set it up for NULL, but it still crashes.
So I ended up recreating the project, and it worked. I don’t know what was wrong in the setting, but that’s the only thing that made it crash it looks like.
Thanks anyways.