# wp.Runtime.DebugFilterByRuntimeHashGridName Does not work for UWorldPartitionRuntimeHashSet 

**URL:** <https://forums.unrealengine.com/t/wp-runtime-debugfilterbyruntimehashgridname-does-not-work-for-uworldpartitionruntimehashset/2720303>\
**Category:** World Creation\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [April 3, 2026, 12:55am UTC](https://forums.unrealengine.com/t/wp-runtime-debugfilterbyruntimehashgridname-does-not-work-for-uworldpartitionruntimehashset/2720303 "2026-04-03T00:55:49Z")\
**Posts on this page:** 3\
**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:** [April 3, 2026, 12:55am UTC](https://forums.unrealengine.com/t/wp-runtime-debugfilterbyruntimehashgridname-does-not-work-for-uworldpartitionruntimehashset/2720303/1 "2026-04-03T00:55:49Z")

</div>

UWorldPartitionRuntimeHashSet does not implement ContainsRuntimeHash() so the code here fails to add it to the debug set:

```auto
TSet<FName> FWorldPartitionDebugHelper::DebugRuntimeHashFilter;
FAutoConsoleCommand FWorldPartitionDebugHelper::DebugFilterByRuntimeHashGridNameCommand(
	TEXT("wp.Runtime.DebugFilterByRuntimeHashGridName"),
	TEXT("Filter debug diplay of world partition streaming by grid name. Args [grid names]"),
	FConsoleCommandWithArgsDelegate::CreateLambda([](const TArray<FString>& InArgs)
	{
		DebugRuntimeHashFilter.Reset();
		for (const FWorldContext& Context : GEngine->GetWorldContexts())
		{
			UWorld* World = Context.World();
			if (World && World->IsGameWorld())
			{
				if (UWorldPartition* WorldPartition = World->GetWorldPartition())
				{
					for (const FString& Arg : InArgs)
					{
						if (WorldPartition->RuntimeHash && WorldPartition->RuntimeHash->ContainsRuntimeHash(Arg))
						{
							DebugRuntimeHashFilter.Add(FName(Arg));
						}
					}
				}
			}
		}
	})
);

```

Could you implement ContainsRuntimeHash() for UWorldPartitionRuntimeHashSet? Or could that function be removed since this debug code is the only code that calls it?

[Attachment Removed]

---

<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:** [April 3, 2026, 12:55am UTC](https://forums.unrealengine.com/t/wp-runtime-debugfilterbyruntimehashgridname-does-not-work-for-uworldpartitionruntimehashset/2720303/2 "2026-04-03T00:55:51Z")

</div>

**Steps to Reproduce**  
Try to use wp.Runtime.DebugFilterByRuntimeHashGridName in a world partition world using UWorldPartitionRuntimeHashSet

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [April 6, 2026, 8:33pm UTC](https://forums.unrealengine.com/t/wp-runtime-debugfilterbyruntimehashgridname-does-not-work-for-uworldpartitionruntimehashset/2720303/3 "2026-04-06T20:33:48Z")

</div>

Hello!

I submitted CL52455651 that adds the missing method. It is now possible to filter the grids when displaying the 2D version.

Regards,

Martin

[Attachment Removed]
