Metahuman Groom/HairStrands on Linux/Vulkan

Hey ,

We ran into the same issue and asked on UDN and had the problem solved: https://udn.unrealengine.com/s/question/0D54z00007W6XboCAF/groom-not-showing-when-packaged-linux

Hi,

So … we finally iterate on the issue with a colleague by reproducing the issue on the MetaHumanSample project on Ubuntu in 4.27. The bottom line is a mixture of missing data platform configuration, and an issue with the .ini file setup.

The best workaround we have found so far requires you to recompile the engine unfortunately. In Engine\Source\Runtime\Engine\Private\Materials\MaterialInterface.cpp and remove FDataDrivenShaderPlatformInfo::GetSupportsHairStrandGeometry(Platform) like this:

bool IsHairStrandsGeometrySupported(const EShaderPlatform Platform)
{
	check(Platform != SP_NumPlatforms);
	return GetMaxSupportedFeatureLevel(Platform) == ERHIFeatureLevel::SM5;
}

This way, the engine will always enable strands geometry, and it should render fine. With this changes, you will need to recompile the editor, and recook/repackage your data.

I’m sorry there is no better workaround at this stage =/

/.

Hopefully this solves your problem too!

1 Like