Editor crashes on Linux / Failed to compile default material WorldGridMaterial

I have built the latest release branch (4.20) on Ubuntu 18.04. When trying to start the editor, I get the following error:

[2018.09.28-15.31.42:609][ 0]LogShaderCompilers: Display: Shaders left to compile 1
[2018.09.28-15.31.42:609][ 0]LogShaderCompilers: Warning: 366 Shader compiler errors compiling WorldGridMaterial for platform GLSL_430:
[2018.09.28-15.31.42:609][ 0]LogShaderCompilers: Warning: /mnt/simorgh/data08/ionflux/code/UnrealEngine-release/Engine/Shaders/Private/MaterialTemplate.ush(1661): Shader FVelocityVS, VF FLandscapeXYOffsetVertexFactory:
error: too many parameters to ‘vec3’ constructor

[… many more similar errors]

Fatal error: [File:/mnt/simorgh/data08/ionflux/code/UnrealEngine-release/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 2031]
Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!
[2018.09.28-15.31.42:696][ 0]LogCore: Error: appError called: Assertion failed: [File:/mnt/simorgh/data08/ionflux/code/UnrealEngine-release/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 2031]
Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!

Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092

I am using Nvidia 390.87 drivers with a GeForce GTX 1070. Latest working engine version that I have tested is 4.18.

Are you using a freshly cloned 4.20 version or are you upgrading from the previous installation? Also, please make sure that 390.87 are mentioned in the log file (in GL_RENDERER string).

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Just to be sure I retried with a fresh clone from upstream but unfortunately there is still the same issue.

This is the output regarding the GL version:

[2018.09.28-19.34.17:411][ 0]LogRHI: GL_VENDOR: NVIDIA Corporation
[2018.09.28-19.34.17:411][ 0]LogRHI: GL_RENDERER: GeForce GTX 1070/PCIe/SSE2
[2018.09.28-19.34.17:411][ 0]LogRHI: GL_VERSION: 4.3.0 NVIDIA 390.87
[2018.09.28-19.34.17:411][ 0]LogRHI: GL_SHADING_LANGUAGE_VERSION: 4.30 NVIDIA via Cg compiler

Could you maybe try 390.48 drivers? I’m running those myself and I don’t have that problem, so I wonder if this is a driver issue.

I originally tried with the 390.48 drivers. I then upgraded to 390.87 in the hope that it might fix the problem, but no luck.