# Large meshes won\`t open anymore

**URL:** <https://forums.unrealengine.com/t/large-meshes-won-t-open-anymore/2166872>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, question\
**Created:** [December 3, 2024, 10:35am UTC](https://forums.unrealengine.com/t/large-meshes-won-t-open-anymore/2166872 "2024-12-03T10:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathijsabrahams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mathijsabrahams](https://forums.unrealengine.com/u/Mathijsabrahams)\
**Post date:** [December 3, 2024, 10:35am UTC](https://forums.unrealengine.com/t/large-meshes-won-t-open-anymore/2166872/1 "2024-12-03T10:35:24Z")

</div>

I`ve been working in unreal with some photogrammetry models i created in Agisoft Metashape. These files were pretty huge, up to 80M triangles, but they used to work fine for me. They took some time to import and build nanite, and then worked pretty smooth.  
Suddenly, some of these meshes crash the editor when loading them. I get the folowing crash report. Can someone help me??

Assertion failed: SerializeNum \>= 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 3746]

UnrealEditor\_MeshDescription!TArrayPrivateFriend::Serialize\<FMeshElementContainer,TSizedInlineAllocator\<1,32,TSizedDefaultAllocator\<32\> \> \>() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h:3746]  
UnrealEditor\_MeshDescription!operator\<\<\<TSetElement\<TTuple\<FName,FMeshElementTypeWrapper\> \>,TSparseArrayAllocator\<TSizedDefaultAllocator\<32\>,FDefaultBitArrayAllocator\> \>() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\SparseArray.h:1579]  
UnrealEditor\_MeshDescription!TSetPrivateFriend::Serialize\<TTuple\<FName,FMeshElementTypeWrapper\>,TDefaultMapHashableKeyFuncs\<FName,FMeshElementTypeWrapper,0\>,FDefaultSetAllocator\>() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Set.h:2246]  
UnrealEditor\_MeshDescription!FMeshDescription::Serialize() [D:\build++UE5\Sync\Engine\Source\Runtime\MeshDescription\Private\MeshDescription.cpp:196]  
UnrealEditor\_MeshDescription!FMeshDescriptionBulkData::LoadMeshDescription() [D:\build++UE5\Sync\Engine\Source\Runtime\MeshDescription\Private\MeshDescription.cpp:2203]  
UnrealEditor\_Engine!FStaticMeshSourceModel::LoadMeshDescription() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StaticMeshSourceData.cpp:227]  
UnrealEditor\_Engine!FStaticMeshSourceModel::GetOrCacheMeshDescription() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StaticMeshSourceData.cpp:267]  
UnrealEditor\_MeshBuilder!PrepareNaniteStaticMeshBuild() [D:\build++UE5\Sync\Engine\Source\Developer\MeshBuilder\Private\StaticMeshBuilder.cpp:152]  
UnrealEditor\_MeshBuilder!FStaticMeshBuilder::Build() [D:\build++UE5\Sync\Engine\Source\Developer\MeshBuilder\Private\StaticMeshBuilder.cpp:550]  
UnrealEditor\_MeshBuilder!FMeshBuilderModule::BuildMesh() [D:\build++UE5\Sync\Engine\Source\Developer\MeshBuilder\Private\MeshBuilderModule.cpp:50]  
UnrealEditor\_Engine!FStaticMeshRenderData::Cache() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StaticMesh.cpp:3651]  
UnrealEditor\_Engine!UStaticMesh::CacheDerivedData() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StaticMesh.cpp:6142]  
UnrealEditor\_Engine!UStaticMesh::ExecutePostLoadInternal() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\StaticMesh.cpp:6888]  
UnrealEditor\_Engine!FAsyncTask::DoTaskWork() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:624]  
UnrealEditor\_Engine!FAsyncTaskBase::DoWork() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:289]  
UnrealEditor\_Engine!FAsyncTaskBase::DoThreadedWork() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:313]  
UnrealEditor\_Core!FQueuedThreadPoolWrapper::FScheduledWork::DoThreadedWork() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Misc\QueuedThreadPoolWrapper.h:142]  
UnrealEditor\_Engine!FQueuedThreadPoolWrapper::FScheduledWork::DoThreadedWork() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Misc\QueuedThreadPoolWrapper.h:142]  
UnrealEditor!`LowLevelTasks::FTask::Init<`FQueuedLowLevelThreadPool::AddQueuedWork’::`2'::<lambda_1> >'::`13’::\<lambda\_1\>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\Fundamental\Task.h:499]  
UnrealEditor!LowLevelTasks::TTaskDelegate\<LowLevelTasks::FTask \* \_\_ptr64 \_\_cdecl(bool),48\>::TTaskDelegateImpl\<`LowLevelTasks::FTask::Init<`FQueuedLowLevelThreadPool::AddQueuedWork’::`2'::<lambda_1> >'::`13’::\<lambda\_1\>,0\>::CallAndMove() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\Fundamental\TaskDelegate.h:171]  
UnrealEditor\_Core!LowLevelTasks::FTask::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\Fundamental\Task.h:627]  
UnrealEditor\_Core!LowLevelTasks::FScheduler::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\Fundamental\Scheduler.cpp:267]  
UnrealEditor\_Core!LowLevelTasks::FScheduler::WorkerLoop() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\Fundamental\Scheduler.cpp:514]  
UnrealEditor\_Core!`LowLevelTasks::FScheduler::CreateWorker'::`2’::\<lambda\_1\>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\Fundamental\Scheduler.cpp:75]  
UnrealEditor\_Core!FThreadImpl::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\Thread.cpp:69]  
UnrealEditor\_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:159]

---

<div class="post-metadata">

**Author:** ![DiSharko](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/disharko/32/961203_2.png) [@DiSharko](https://forums.unrealengine.com/u/DiSharko)\
**Post date:** [December 3, 2024, 6:29pm UTC](https://forums.unrealengine.com/t/large-meshes-won-t-open-anymore/2166872/2 "2024-12-03T18:29:41Z")

</div>

I’m seeing this as well. I have a model with 10.5M nanite triangles / 7.8M vertices which still opens, but larger models (ex. 49.3M tri, 28.5M vert; 67.8M tri, 40.4M vert) crash with the same error.

Running UE 5.4.4 on a GCP g2-standard-32 VM, Windows 10. I get the same SerializeNum \>= assertion failed error in the crash report popup, but I also managed to copy the output log once before it crashed and saw a slightly different top line error, in case it helps:

LogOutputDevice: Error: Ensure condition failed: NewArrayNum \>= 0 && std::numeric\_limits::max() / (SizeType)ElementSize \>= NewArrayNum [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 1307]

---

<div class="post-metadata">

**Author:** ![DiSharko](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/disharko/32/961203_2.png) [@DiSharko](https://forums.unrealengine.com/u/DiSharko)\
**Post date:** [January 14, 2025, 2:32pm UTC](https://forums.unrealengine.com/t/large-meshes-won-t-open-anymore/2166872/3 "2025-01-14T14:32:37Z")

</div>

Bump - still unable to load my existing meshes; also unable to re-import the (30 GB) mesh with any of the available Unreal 5 versions. Where it previously imported in around an hour, it now runs for 2+ hours before crashing with OOM errors (after using all 128 GB of RAM, plus 256 GB of page file).
