# UE 5.8.1 — Use-after-free of FD3D12UniformBuffer in ValidateBoundUniformBuffer during World Partition traversal; garbage collection is the releasing agent

**URL:** <https://forums.unrealengine.com/t/ue-5-8-1-use-after-free-of-fd3d12uniformbuffer-in-validatebounduniformbuffer-during-world-partition-traversal-garbage-collection-is-the-releasing-agent/2762735>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine\
**Created:** [September 4, 2026, 5:26pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-use-after-free-of-fd3d12uniformbuffer-in-validatebounduniformbuffer-during-world-partition-traversal-garbage-collection-is-the-releasing-agent/2762735 "2026-09-04T17:26:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lucasr94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucasr94](https://forums.unrealengine.com/u/lucasr94)\
**Post date:** [September 4, 2026, 5:32pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-use-after-free-of-fd3d12uniformbuffer-in-validatebounduniformbuffer-during-world-partition-traversal-garbage-collection-is-the-releasing-agent/2762735/2 "2026-09-04T17:32:12Z")

</div>

Hey man, I had a similar issue with that same execution thread. I’m leaving my solution in this comment. hopefully it helps you. I spent four days dealing with that error, and it was incredibly frustrating.

> [@UE 5.7.4 — Use-after-free of FD3D12SamplerState in FD3D12DescriptorCache::BuildSamplerTable during Nanite BasePass](https://forums.unrealengine.com/t/ue-5-7-4-use-after-free-of-fd3d12samplerstate-in-fd3d12descriptorcache-buildsamplertable-during-nanite-basepass/2746946/5):
>
> Hi everyone, I found the solution to my problem. I had two different triggers causing the same crash: one was related to Nanite, and the other was caused by an invalid shader. Both were sharing information through a Material Parameter Collection. Since I only have around five Material Parameter Collections in the entire project, I decided to keep them loaded at all time (Basically, what I did was create an array of hard references to the five Material Parameter Collections in the Game Instance.…

---

_[View the full topic](https://forums.unrealengine.com/t/ue-5-8-1-use-after-free-of-fd3d12uniformbuffer-in-validatebounduniformbuffer-during-world-partition-traversal-garbage-collection-is-the-releasing-agent/2762735)._
