My team is looking to make some character with strand based hair. The hair renders fine in UE4 editor. However after the game is packaged for Linux(Ubuntu 18.04), the hair simply disappears.
We tried both cross-compiling from Windows and direct export on Linux, the problem remains the same.
To replicate this, we found some random strand based hair from MetaHuman and bound it to the head of human character from the third person template. And we saw the same issue…
We tried to debug the packaged game, but the console did not show much information about hair.
Hello!
We have same problem. Groom component in Linux builds (Debug/Develop/Shipping) doesn’t work at all, but in UEditor and in Standalone Game launched from UEditor hair (Groom) works good.
UE v4.27.2
Linux KUbuntu 18.04 x64, NVidia GTX 1070 (driver ver 495).
Plz need help!
Thanks for solution, but it not works for me…
I added in file Engine/Config/Linux/DataDrivenPlatformInfo.ini lines from Engine/Config/Windows/DataDrivenPlatformInfo.ini.
First test: development and release build - no hairs.
Second test: with additional line “bSupportsHairStrandGeometry=true”, no hairs in release build.
Development build crashes at line 239:
Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/HairStrandsVertexFactory.cpp
In Unreal Engine v5.0.1 hair works good in Linux builds.