Dedicated server error trying to load WorldGridMaterial (4.12.3)

Hi, when I try to run a dedicated server for our game I’m getting an error trying to load WorldGridMaterials. The server data cooks without issue, and I can run our game inside the editor and as a standalone without problem. I’ve been going round in circles with this for 2 days now… can anyone help ?



LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Fonts/AcuminProBlackItalic.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Fonts/AcuminProBlackItalic.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Match/Font/ClearSans-Bold.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Match/Font/ClearSans-Bold.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Fonts/AcuminProUltBlack.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Fonts/AcuminProUltBlack.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../UE4-ProjectX/ProjectX/Content/UI/Match/Font/ClearSans-Bold.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../EngineDevInternal/Engine/Content/EngineMaterials/WorldGridMaterial.uasset). Package contains EditorOnly data which is not supported by the current build.
LogLinker:Warning: Unable to load package (../../../../EngineDevInternal/Engine/Content/EngineMaterials/WorldGridMaterial.uasset). Package contains EditorOnly data which is not supported by the current build.
LogUObjectGlobals:Warning: Failed to find object 'Material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial'
LogWindows:Warning: CreateProc failed (2) ..\..\..\Engine\Binaries/Win64/CrashReportClient.exe  -Unattended -nullrhi -AppName=UE4-ProjectX -CrashGUID=UE4CC-Windows-A6E760034C1C50D29F3144953E6DECCA_0000 -DebugSymbols=..\..\..\..\EngineDevInternal\Engine\Intermediate\Symbols
LogWindows:Error: === Critical error: ===

Assertion failed: GDefaultMaterials[Domain] != NULL [File:C:\p4\EngineDevInternal\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp] [Line: 358] 
Cannot load default material 'engine-ini:/Script/Engine.Engine.DefaultMaterialName'

Same problem here with 4.15.1…

Same problem with 4.16.1 … this is starting to get ridiculous !!

The same problem with 4.16.

I found the solution is in this youtube video. https://www.youtube.com/watch?v=3j72KCPUdog, start from 13:50.
The idea is you need to copy the binary file to a packaged folder, so that the packaged content can be correctly located.

When you compile the server its just the EXE without content, you should first compile the game then the server, and make sure the server.exe is in the same place as the client EXE and it should work.

the EXEs are in the binary folder of the build project, not the root