# Editing MetaHuman grooms causes a crash in build

**URL:** <https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839>\
**Category:** Character & Animation\
**Tags:** build, unreal-engine, crash, bug-report, metahuman\
**Created:** [December 7, 2023, 7:00am UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839 "2023-12-07T07:00:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haartian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haartian](https://forums.unrealengine.com/u/Haartian)\
**Post date:** [December 7, 2023, 7:01am UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/1 "2023-12-07T07:01:00Z")

</div>

Did anyone encounter this issue? I’m editing the long\_messy\_clumps MetaHuman groom, reducing the curve decimation and vertex decimation parameters. It all looks and plays fine in editor, but crashes the build. Restoring a backup of the groom fixes the problem.

I’d like to have the ability to decimate strands in-editor though.  
I’m on Unreal 5.3.2 with all plugins up to date, tried it in both our current project and a clean project.

Steps to recreate:

1. Import a MetaHuman (w/ long messy clumps hairdo)
2. Edit the groom: set curve decimation to anything below 1.0, same for vertex decimation.
3. Package build.
4. Run the build.

> Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 949]  
> Rendering thread exception:  
> Assertion failed: Size == ((uint64) 0xffffffffffffffff) || Size \<= uint64(BulkData.GetBulkDataSize()) [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\BulkDataStreaming.cpp] [Line: 1059]
> 
> 0x00007ff6de03beae RepoManReboot.exe!FHairStrandsBulkCommon::FQuery::Add()   
> 0x00007ff6de0c6ea0 RepoManReboot.exe!FHairStrandsBulkData::GetResources()   
> 0x00007ff6de0db5cc RepoManReboot.exe!FHairStreamingRequest::Request()   
> 0x00007ff6de00f952 RepoManReboot.exe!FHairStrandsRestResource::InternalGetOrRequestData()   
> 0x00007ff6ddfff33c RepoManReboot.exe!FHairCommonResource::Allocate()   
> 0x00007ff6ddffc5c6 RepoManReboot.exe!`FComputeShaderUtils::AddPass<FHairStrandTextureDilationCS>'::`2’::\<lambda\_1\>::operator()()   
> 0x00007ff6de011eb5 RepoManReboot.exe!TArray\<FHairStrandsDebugDatas::FVoxel,TSizedDefaultAllocator\<32\> \>::ResizeTo()   
> 0x00007ff6de01096d RepoManReboot.exe!ProcessHairStrandsBookmark()   
> 0x00007ff6d8c8f6e3 RepoManReboot.exe!FSceneRenderer::PreVisibilityFrameSetup()   
> 0x00007ff6d8c678e9 RepoManReboot.exe!FDeferredShadingSceneRenderer::BeginInitViews()   
> 0x00007ff6d7f94a92 RepoManReboot.exe!FDeferredShadingSceneRenderer::Render()   
> 0x00007ff6d8c2287c RepoManReboot.exe!FSceneRenderer::RenderThreadEnd()   
> 0x00007ff6d8bdf227 RepoManReboot.exe!`TPersistentStructuredBuffer<UE::HLSL::FCellBlockData>::ValidateGPUData<`FSceneCullingBuilder::UploadToGPU’::`33'::<lambda_1> >'::`12’::\<lambda\_1\>::operator()()   
> 0x00007ff6d8c078a5 RepoManReboot.exe!TBaseStaticDelegateInstance\<void \_\_cdecl(wchar\_t const \* \_\_ptr64,IConsoleObject \* \_\_ptr64),FDefaultDelegateUserPolicy,unsigned int \* \_\_ptr64\>::ExecuteIfSafe()   
> 0x00007ff6d50ce657 RepoManReboot.exe!FNamedTaskThread::ProcessTasksNamedThread()   
> 0x00007ff6d50cec4e RepoManReboot.exe!FNamedTaskThread::ProcessTasksUntilQuit()   
> 0x00007ff6d956592a RepoManReboot.exe!RenderingThreadMain()   
> 0x00007ff6d956c379 RepoManReboot.exe!FRenderingThread::Run()   
> 0x00007ff6d567fca2 RepoManReboot.exe!FRunnableThreadWin::Run()   
> 0x00007ff6d56736f7 RepoManReboot.exe!FRunnableThreadWin::GuardedRun()   
> 0x00007ffa9f707344 KERNEL32.DLL!UnknownFunction

---

<div class="post-metadata">

**Author:** ![wshizzle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wshizzle](https://forums.unrealengine.com/u/wshizzle)\
**Post date:** [December 30, 2023, 7:55am UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/2 "2023-12-30T07:55:16Z")

</div>

Facing the exact same issue on the same version with alembic hair converted in blender from DAZ.

---

<div class="post-metadata">

**Author:** ![rit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rit](https://forums.unrealengine.com/u/rit)\
**Post date:** [February 22, 2024, 12:03pm UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/3 "2024-02-22T12:03:49Z")

</div>

> [@Haartian](#):
>
> Reboot.exe!FHairStrandsRestResource::InternalGetOrRequestD

Experience crash with the same callstack today.  
I’m using UE5.3.2  
The hair was created in Daz3D, exported to blender and converted into .abc file.  
The hair import just fine, no crash in PIE or standalone game, crashes in packaged build.

---

<div class="post-metadata">

**Author:** ![rit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rit](https://forums.unrealengine.com/u/rit)\
**Post date:** [February 22, 2024, 4:46pm UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/4 "2024-02-22T16:46:17Z")

</div>

Ok, after some testing I was able to find a way to do curve + vertex decimation without packaged build crashing.

Here are the steps that work for me:

1. Import .abc file into a **UE.5.0** project
2. Set curve and vertex decimation and save the groom asset.
3. **Migrate** the groom asset to your **UE5.3.2** project
4. Package UE5.3.2 project

I’ve done the above steps and didn’t encounter a crash in shipping build.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![wshizzle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wshizzle](https://forums.unrealengine.com/u/wshizzle)\
**Post date:** [February 23, 2024, 7:54pm UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/5 "2024-02-23T19:54:39Z")

</div>

Confirmed in my build as well. Now to the next bug where the hair is not animating.

---

<div class="post-metadata">

**Author:** ![wshizzle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wshizzle](https://forums.unrealengine.com/u/wshizzle)\
**Post date:** [February 23, 2024, 9:56pm UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/6 "2024-02-23T21:56:52Z")

</div>

Found the answer to the second bug here and confirmed in 5.3.2. Placed an animated groom in my level and like magic all the others now work in the packaged build.

> [@Groom not simulating physics but only in packaged game](https://forums.unrealengine.com/t/groom-not-simulating-physics-but-only-in-packaged-game/484451/5):
>
> Hi, you can add the path of hair strand plugin content into the package project setting~like this:

---

<div class="post-metadata">

**Author:** ![TechDataLearn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TechDataLearn](https://forums.unrealengine.com/u/TechDataLearn)\
**Post date:** [June 19, 2024, 4:24pm UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/7 "2024-06-19T16:24:23Z")

</div>

> [@rit](#):
>
> The hair import just fine, no crash in PIE or standalone game, crashes in packaged build.

What is standalone game? How do I export standalone game? I thought they only have packaged build

---

<div class="post-metadata">

**Author:** ![rit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rit](https://forums.unrealengine.com/u/rit)\
**Post date:** [June 20, 2024, 1:59am UTC](https://forums.unrealengine.com/t/editing-metahuman-grooms-causes-a-crash-in-build/1500839/8 "2024-06-20T01:59:20Z")

</div>

Roughly speaking, running Standalone game means the engine code will run with  
`#WITH_EDITOR` macro **disabled** , some functions will behave differently under this mode.

You can press the 3 dotted icon from the right of PIE button and choose ‘Standalone Game’ to run your project in standalone mode.
