# Crash when compiling Mutable Customizable Object 

**URL:** <https://forums.unrealengine.com/t/crash-when-compiling-mutable-customizable-object/2737460>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [June 18, 2026, 2:10pm UTC](https://forums.unrealengine.com/t/crash-when-compiling-mutable-customizable-object/2737460 "2026-06-18T14:10:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 18, 2026, 2:10pm UTC](https://forums.unrealengine.com/t/crash-when-compiling-mutable-customizable-object/2737460/1 "2026-06-18T14:10:11Z")

</div>

When using OpenCode to analyze the crash, this is what I’m getting back;

Root Cause

There is a bug in the header-copy phase of `MergeMorphs` at `OpMeshMerge.h:130`:

```auto
// Line 128 — copies MeshB.Morph.BatchesPerMorph[MeshBMorphIndex] batches
FMemory::Memcpy(..., MeshB.Morph.BatchesPerMorph[MeshBMorphIndex] * NumBatchHeaderDwords * sizeof(uint32));

// Line 130 — BUT advances the offset using Result's count (already incremented on line 115!)
BatchAccumulatedOffsetInDwords += MeshB.Morph.BatchesPerMorph[MorphIndex] * NumBatchHeaderDwords;
// ^^^^^^^^^^^ WRONG — should be MeshBMorphIndex

```

Line 115 first adds MeshB’s batch count into `Result.Morph.BatchesPerMorph[MorphIndex]`:

```auto
Result.Morph.BatchesPerMorph[MorphIndex] += MeshB.Morph.BatchesPerMorph[MeshBMorphIndex];

```

I made local changes to the OpMeshMerge.h in the Engine, but the crash persisted.

---

<div class="post-metadata">

**Author:** ![GSsDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GSsDev](https://forums.unrealengine.com/u/GSsDev)\
**Post date:** [June 22, 2026, 10:19am UTC](https://forums.unrealengine.com/t/crash-when-compiling-mutable-customizable-object/2737460/2 "2026-06-22T10:19:07Z")

</div>

Hello Avian,

Some crashes with morph merging have been addressed for 5.8. For example, the issue you found with OpenCode has already been resolved. To have a better understanding of the problem we would need a callstack or, if possible, a simple reproduction case.

Thanks for reporting,

Genis.
