UE 5.4.1 Groom crash with Package buiids

Latest UE 5.4.1 package builds our project will crash on groom/groom binding assets when trying to load.

Fails on virtual IAsyncReadRequest* ReadRequest(…) when trying to read in the size it is wrong and then will crash when doing an array index.

The crash will not occur if you run and use the cooked content or even if you unpack the content from the PAK files.

We have tried rebuilding, re-creating the groom/binding assets.

Further investigation
It looks to be a problem with us using MetaHuman 5.3 assets. If we re-make the MetaHuman in 5.4 everything is fine. This is not an ideal solution.

4 Likes

We have the same problem. Unfortunately no one in this forum wants to help us. If we comment out the part with the UGroomAsset and UGroomBindingAsset, everything works. But that is not a solution for us. If there are any possible solutions for the UE 5.4.1. We would be very grateful.

It looks to be something with Alembic Exporter or Importer for Groom.

Metahuman groom files work fine.

We notice if you have the IOStore flag disabled in the project package settings the crash happens. Enable the flag and the crash will go away.

3 Likes

I have a similar problem: basically when trying to create a groom binding, unreal kinda freezes saying “waiting for assets to be ready (mesh)”. I have already reported this but they didn’t do anything. I hope they will fix this in the next update

Finally I find out the solution. In UE5.4.x we need to make a little change in /Engine/Source/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/HairStrandsDatas.cpp, change this


to

then we could load groom hair data correctly from .pak file.
------------ div line --------------
I meet the same problem now. I paked a simple groom uproject at ue 5.4.3 with UseIoStore:Off in development mode, then I tried to open package, it came to here and crshed

In factI’ve tried to pak a simple groom scene at ue 5.5.1, and it worked correctly without any crash, but I’ve done a lot of works in my 5.4.3 projects and won’t change it to 5.5.1. So what’s the difference of groom pak IO between 5.4.x and 5.5.1? How should I change the source code so that my groom work at 5.4.3 could be used correctly?