From a479ed8b745538bcbcbfe3f038348e39b52e11e4 Mon Sep 17 00:00:00 2001 From: Helix Date: Fri, 19 Sep 2025 08:47:25 +0000 Subject: [PATCH] fix for `UnsafeHashMap.Count` --- src/Arch.Unity/Assets/Arch.Unity/Runtime/Jobs/NativeChunk.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arch.Unity/Assets/Arch.Unity/Runtime/Jobs/NativeChunk.cs b/src/Arch.Unity/Assets/Arch.Unity/Runtime/Jobs/NativeChunk.cs index 05e861d..d775528 100644 --- a/src/Arch.Unity/Assets/Arch.Unity/Runtime/Jobs/NativeChunk.cs +++ b/src/Arch.Unity/Assets/Arch.Unity/Runtime/Jobs/NativeChunk.cs @@ -13,7 +13,7 @@ public unsafe struct NativeChunk : IDisposable int count; public int Count => count; - public int ComponentCount => componentMap.Count; + public int ComponentCount => componentMap.Count(); internal static NativeChunk Create(Chunk chunk, AllocatorManager.AllocatorHandle allocator, ref NativeList gcHandles) {