Compare commits

...

3 Commits

Author SHA1 Message Date
DCFApixels
1605108e49 Merge branch 'main' of github.com:DCFApixels/DragonECS 2025-08-11 20:39:25 +08:00
DCFApixels
0a9bf9d906 up version to 0.9.18 2025-08-11 20:38:59 +08:00
Karpik
d67afc74a0
Fix NullReferenceException 2025-08-11 20:38:12 +08:00
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<RootNamespace>DCFApixels.DragonECS</RootNamespace>
<Title>DragonECS</Title>
<Version>0.9.17</Version>
<Version>0.9.18</Version>
<Authors>DCFApixels</Authors>
<Description>ECS Framework for Game Engines with C# and .Net Platform</Description>
<Copyright>DCFApixels</Copyright>

View File

@ -8,7 +8,7 @@
"displayName": "DragonECS",
"description": "C# Entity Component System Framework",
"unity": "2020.3",
"version": "0.9.17",
"version": "0.9.18",
"repository": {
"type": "git",
"url": "https://github.com/DCFApixels/DragonECS.git"

View File

@ -1105,7 +1105,7 @@ namespace DCFApixels.DragonECS
public ReadOnlySpan<object> 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++)
{