Development server debugging error


I’m trying to setup a dedicated server following this tutorial:
but I’m stuck trying to package it. More specifically, everytime I try to open up my project using ‘local windows debugger’ with my solution configurations set to “development server” I get an error saying “Cannot load default material”. I’ve tried to replace all my materials, even default pawns using this material, with other pawns or materials but nothing seems to work. Also, building the solution using the same solution configuration (development server) works completely fine.

Here’s where it triggers a breakpoint:

					&& (RecursionLevel == 1 || !GEventDrivenLoaderEnabled)
					GDefaultMaterials[Domain] = LoadObject<UMaterial>(nullptr, *ResolvedPath, nullptr, LOAD_DisableDependencyPreloading, nullptr);
					checkf(GDefaultMaterials[Domain] != nullptr, TEXT("Cannot load default material '%s'"), GDefaultMaterialNames[Domain]);
				if (GDefaultMaterials[Domain])

I’ve been trying to fix this for a couple days now but with no success. I’ve seen some other threads with the same issues, but the solution to them was to ignore step 8 of the tutorial, which is shipping it, so I don’t really see how that’s gonna work as I need to ship it in order to use it. Anyways, if you have any ideas please help me, it’s highly appreciated. Thanks! :slight_smile:

Having the same issue here. Any progress on this?

No, I’m sorry. However I can’t really see any point in debugging the server in the editor. If the build succeeds you should have everything you need, your server.exe for your project should’ve been created. So yeah, I’ve kindof given up on this, but I’ll come back to this thread if I know something more :slight_smile:

Hello everybody

Just had the same problem and was able to fix it

You have to switch to development editor again, then this works again.

I know the post is old … but maybe it will still help someone :slight_smile:

All the best to you!