# Exposing World Partition UseAlignedGridLevels 

**URL:** <https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355>\
**Category:** World Creation\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [October 3, 2025, 4:15pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355 "2025-10-03T16:15:23Z")\
**Posts on this page:** 11\
**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:** [October 3, 2025, 4:15pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/1 "2025-10-03T16:15:23Z")

</div>

Hi!

We at Havok would like to support out-of-the-box both UseAlignedGridLevels enabled and disabled (as there’s a misalignment between the generated Havok Grid Cells and the World Partioning Cells when it’s disabled). For that we need for UseAlignedGridLevels to be exposed, would that be possible?

Thank you!

Diogo

---

<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:** [October 3, 2025, 4:15pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/2 "2025-10-03T16:15:27Z")

</div>

**Steps to Reproduce**

---

<div class="post-metadata">

**Author:** ![ColonelDube](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coloneldube/32/924285_2.png) [@ColonelDube](https://forums.unrealengine.com/u/ColonelDube)\
**Post date:** [October 10, 2025, 1:04pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/3 "2025-10-10T13:04:33Z")

</div>

Hi Diego.

These settings are for the old runtime spatial hash which has been replaced by the spatial hashset.

There’s already a public getter in UWorldPartitionRuntimeSpatialHash::GetUseAlignedGridLevels, can you use that?

JF

---

<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:** [October 13, 2025, 8:47am UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/4 "2025-10-13T08:47:32Z")

</div>

Hi Jean-François,

Thanks for replying, since customers can still use the old runtime spatial hash we would like to support it anyways. I’m a bit surprised you mention it’s public, I just checked both our repo (and yours) and it is private:[Image Removed]

Thanks,

Diogo

---

<div class="post-metadata">

**Author:** ![ColonelDube](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coloneldube/32/924285_2.png) [@ColonelDube](https://forums.unrealengine.com/u/ColonelDube)\
**Post date:** [October 13, 2025, 6:07pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/5 "2025-10-13T18:07:15Z")

</div>

My bad, it’s private. Would making it public be enough for your use case?

---

<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:** [October 14, 2025, 11:04am UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/6 "2025-10-14T11:04:41Z")

</div>

Hi Jean-François, yes it should be - I was thinking of asking to expose the URuntimePartitionLHGrid::Origin for the spatial hashset use case, but I can make the offset default to half the cell size and the user can override and define its offset instead - so yeah only GetUseAlignedGridLevels().

Cheers,

Diogo

---

<div class="post-metadata">

**Author:** ![ColonelDube](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coloneldube/32/924285_2.png) [@ColonelDube](https://forums.unrealengine.com/u/ColonelDube)\
**Post date:** [October 14, 2025, 11:30am UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/7 "2025-10-14T11:30:27Z")

</div>

The change is in //UE5/Main in CL#46870061.

---

<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:** [October 16, 2025, 10:51am UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/8 "2025-10-16T10:51:25Z")

</div>

Thank you!

---

<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:** [October 29, 2025, 4:41pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/9 "2025-10-29T16:41:40Z")

</div>

BTW, will this be in 5.7? Or only in 5.7.1? (I noticed the dev-5.7 branch doesn’t have this change yet)

---

<div class="post-metadata">

**Author:** ![ColonelDube](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coloneldube/32/924285_2.png) [@ColonelDube](https://forums.unrealengine.com/u/ColonelDube)\
**Post date:** [October 31, 2025, 12:01pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/10 "2025-10-31T12:01:22Z")

</div>

The change will be in 5.8.

JF

---

<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:** [October 31, 2025, 12:09pm UTC](https://forums.unrealengine.com/t/exposing-world-partition-usealignedgridlevels/2680355/11 "2025-10-31T12:09:13Z")

</div>

Ah gotcha, thanks JF!
