From e95e857c65ef184b00be710204d90761c5d6d1a2 Mon Sep 17 00:00:00 2001 From: Karpik Date: Sun, 10 Aug 2025 19:33:12 +0400 Subject: [PATCH] Fix NullReferenceException due to typo --- src/EcsWorld.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 3425c50..96c420a 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -1105,7 +1105,7 @@ namespace DCFApixels.DragonECS public ReadOnlySpan GetComponentsFor(int entityID) { int count = GetComponentTypeIDsFor_Internal(entityID, ref _componentIDsBuffer); - ArrayUtility.UpsizeWithoutCopy(ref _componentIDsBuffer, count); + ArrayUtility.UpsizeWithoutCopy(ref _componentsBuffer, count); for (int i = 0; i < count; i++) {