# Packaging a bundled PSO cache does not work 

**URL:** <https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [July 10, 2026, 8:03am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948 "2026-07-10T08:03:16Z")\
**Posts on this page:** 7\
**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:** [July 10, 2026, 8:03am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/1 "2026-07-10T08:03:16Z")

</div>

Hi all,

we identified an issue with Unreal 5.8 when creating a bundled PSO cache and packaging it into our application. 5.5 and 5.7 worked fine, so this seems to be limited to 5.8.

I followed this documentation (our CICD pipeline follows the same steps) [https://dev.epicgames.com/documentation/unreal\-engine/manually\-creating\-bundled\-pso\-caches\-in\-unreal\-engine?lang\=en\-US](https://dev.epicgames.com/documentation/unreal%5C-engine/manually%5C-creating%5C-bundled%5C-pso%5C-caches%5C-in%5C-unreal%5C-engine?lang%5C=en%5C-US)

When trying to package the resulting .spc file into the application the operation fails with the following error:

```auto
LogWindows: Error: appError called: Assertion failed: !"Enclosing block should never be called" [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\PipelineFileCache.cpp] [Line: 1424]

```

I can reproduce it with a minimal Unreal project. I just added a PPV and enabled Lumen GI, Lumen Reflection and set the appropriate settings in the ini files.

Either the documentation is outdated for 5.8 or the process in this specific case is broken.

Please let me know if you require more information.

Cheers,

Simon

---

<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:** [July 10, 2026, 8:03am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/2 "2026-07-10T08:03:20Z")

</div>

**Steps to Reproduce**  
Basically follow the steps documented here with the attached project: [https://dev.epicgames.com/documentation/unreal\-engine/manually\-creating\-bundled\-pso\-caches\-in\-unreal\-engine?lang\=en\-US](https://dev.epicgames.com/documentation/unreal%5C-engine/manually%5C-creating%5C-bundled%5C-pso%5C-caches%5C-in%5C-unreal%5C-engine?lang%5C=en%5C-US)

1. Start attached project
2. Package project
3. Start game with -logpso parameter
4. Collect .rec.upipelinecache and .shk files
5. Exand to .spc file
6. Copy .spc into Project directory
7. Package again

-\> Package operation fails

---

<div class="post-metadata">

**Author:** ![TimStullich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimStullich](https://forums.unrealengine.com/u/TimStullich)\
**Post date:** [July 15, 2026, 12:59pm UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/3 "2026-07-15T12:59:55Z")

</div>

Hi Simon,

Thanks for calling this out. I am still investigating this issue, but I wanted to ask: Have you tried creating a clean .spc file from a vanilla 5.8 release build, or did you create the project in 5.7 and then perform a PSO in 5.8?

---

<div class="post-metadata">

**Author:** ![TimStullich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimStullich](https://forums.unrealengine.com/u/TimStullich)\
**Post date:** [July 17, 2026, 8:08am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/4 "2026-07-17T08:08:04Z")

</div>

Hi Simon,

That makes sense. I actually patched up the issue yesterday and pushed the changes to UE6-Main. I will aim to get the change added to the 5.8.2 hot fix release, but if you want to get the changes earlier, you can cherry-pick CL 55874754. Let me know if you encounter any issues after integrating it.

Cheers,

Tim

---

<div class="post-metadata">

**Author:** ![TimStullich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimStullich](https://forums.unrealengine.com/u/TimStullich)\
**Post date:** [July 20, 2026, 8:54am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/5 "2026-07-20T08:54:40Z")

</div>

Ok, sounds good! I will close out the ticket then. If you have any other questions, please feel free to file a new one.

---

<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:** [July 16, 2026, 3:40pm UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/6 "2026-07-16T15:40:26Z")

</div>

Hi Tim,

that was a concern I had, too so I made sure to do the whole process with Unreal 5.8.

Cheers,

Simon

---

<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:** [July 20, 2026, 8:24am UTC](https://forums.unrealengine.com/t/packaging-a-bundled-pso-cache-does-not-work/2744948/7 "2026-07-20T08:24:23Z")

</div>

Thanks Tim! We’ll take a look once 5.8.2 is live
