# FStructuredArchive crashes running WorldPartitionBuilder commandlet on large world 

**URL:** <https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075>\
**Category:** World Creation\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [February 13, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075 "2026-02-13T15:31:21Z")\
**Posts on this page:** 6\
**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:** [February 13, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/1 "2026-02-13T15:31:21Z")

</div>

Hello,

We are experiencing constant crashes when trying to run our subclass of WorldPartitionBuilder as a commandlet on a large open world. The commandlet is just loading cells (via the existing WorldPartitionBuilder framework) and gathering data. It is not making or saving any changes to the world.

It crashes on every execution while serializing, and always in StructuredArchive.cpp or StructuredArchiveSlots.cpp.

It appears to crash on a different actor/component each time.

It always crashes on some form of mesh component, e.g HISM, FISM, landscape deformer mesh, static mesh.

Sometimes the crash is near immediate, sometimes it is hours in.

The only time it has successfully run was when 95% of the data layers in our world were set to unloaded.

Notably, this commandlet runs fine on considerably smaller/emptier maps.

We have tried running with -NoAsyncPostLoad.

Have you seen anything like this in serialization code before? Any potential fixes or workarounds / tips for debugging this further?

Thank you.

Kind regards,

Amiko

[Attachment Removed]

---

<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:** [February 13, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/2 "2026-02-13T15:31:25Z")

</div>

**Steps to Reproduce**  
Run WP commandlet to load/unload large world cell by cell

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [February 16, 2026, 3:51pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/3 "2026-02-16T15:51:45Z")

</div>

Hello,

We haven’t seen such issues internally. Is the commandlet running the GC regularly or it’s relying on the framework to run it? You could try to run the GC after each cell to help determine if you have stale asset references. Inspecting the parallel stacks could also be useful to validate this is not a concurrence problem.

Regards,

Martin

[Attachment Removed]

---

<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:** [February 20, 2026, 10:04am UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/4 "2026-02-20T10:04:35Z")

</div>

Hi Martin,

Thank you for the reply.

When we run an empty WorldPartitionBuilder subclass which just prints a string each time it loads a cell + does garbage collection we are getting the same kind of crashes.

We are also seeing these crashes trying to run the default WorldPartitionMiniMapBuilder, which as far as I can see doesn’t do any of its own GC.

This is the way we are calling garbage collection in RunInternal()

```auto
ON_SCOPE_EXIT
{
	FWorldPartitionHelpers::DoCollectGarbage();
};

```

Is this the method you would suggest or is there a safer alternative?

Kind regards,

Amiko

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [February 24, 2026, 6:37pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/5 "2026-02-24T18:37:18Z")

</div>

The problem doesn’t seem linked to the builder itself but to memory corruption. Do you have custom code that has “raw” C++ pointers on UObject based types? This type of weird corruption can often be linked to missing UPROPERTY tags in class definitions. If you have non-UObject code that is referencing UObjects, you either have to use Strong\Weak reference pointers (for reference: [https://dev.epicgames.com/documentation/en\-us/unreal\-engine/object\-pointers\-in\-unreal\-engine?application\_version\=5\.6\](https://dev.epicgames.com/documentation/en%5C-us/unreal%5C-engine/object%5C-pointers%5C-in%5C-unreal%5C-engine?application%5C_version%5C=5%5C.6%5C))

[Attachment Removed]

---

<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:** [March 10, 2026, 4:03pm UTC](https://forums.unrealengine.com/t/fstructuredarchive-crashes-running-worldpartitionbuilder-commandlet-on-large-world/2709075/6 "2026-03-10T16:03:53Z")

</div>

Thank you for your reply Martin.

We looked for raw pointers and couldn’t find anything. However we swapped out the hardware RAM and it solved the issue. It looks like it was memory corruption of a different kind!

Thanks again.

Kind regards,

Amiko

[Attachment Removed]
