# Unreal Crashing when building all levels

**URL:** <https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [August 6, 2022, 6:06pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810 "2022-08-06T18:06:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeCarr69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoeCarr69](https://forums.unrealengine.com/u/JoeCarr69)\
**Post date:** [August 6, 2022, 6:06pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810/1 "2022-08-06T18:06:01Z")

</div>

I keep having this crash when trying to build all levels.

Assertion failed: StreamingTextures.Num() == StreamingTextureGuids.Num() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Level.cpp] [Line: 1912]

UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_LevelEditor  
UnrealEditor\_LevelEditor  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
user32  
user32  
UnrealEditor\_ApplicationCore  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
kernel32  
ntdll

Any idea whats causing it?

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [August 6, 2022, 7:00pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810/2 "2022-08-06T19:00:55Z")

</div>

looks like its some kind of texture streaminfg or virtual texture error  
sometimes migrating all the levels (just select all levels that are in the project and only the levels then migrate)  
even if a texture is not actually on a level it gets compiled if its in the project, so sometimes that moves over only what’s actually in a level and can unhump it

---

<div class="post-metadata">

**Author:** ![8y57348645389](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@8y57348645389](https://forums.unrealengine.com/u/8y57348645389)\
**Post date:** [August 6, 2022, 10:44pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810/3 "2022-08-06T22:44:53Z")

</div>

Check this thread:

> [@UE5 Crash on building streaming texture](https://forums.unrealengine.com/t/ue5-crash-on-building-streaming-texture/517624):
>
> SOLUTION wave : [UE5 Crash on building streaming texture - #19 by davisctools](https://forums.unrealengine.com/t/ue5-crash-on-building-streaming-texture/517624/19) The editor crash when building Streaming Texture : Thu Apr 07 05:45:54 CEST 2022 Error LogWindows === Critical error: === Thu Apr 07 05:45:54 CEST 2022 Error LogWindows Assertion failed: StreamingTextures.Num() == StreamingTextureGuids.Num() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Level.cpp] [Line: 1894] Thu Apr 07 05:45:54 CEST 2022 Error LogWindows …

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [August 6, 2022, 10:53pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810/4 "2022-08-06T22:53:01Z")

</div>

there is a setting to “package engine and plugin content”  
that content is inside the engine under private

---

<div class="post-metadata">

**Author:** ![JoeCarr69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoeCarr69](https://forums.unrealengine.com/u/JoeCarr69)\
**Post date:** [August 31, 2022, 8:50pm UTC](https://forums.unrealengine.com/t/unreal-crashing-when-building-all-levels/622810/5 "2022-08-31T20:50:11Z")

</div>

Worked like a charm! Thanks!
