Closed LukeJHarvey closed 3 months ago
Example Run 1: MoonEntity(1ULL) MoonEntity(5ULL) PhysicsTransformComponent(3ULL) PhysicsTransformComponent(7ULL)
Run 2: AsteroidEntity(1ULL) AsteroidEntity(5ULL) PhysicsTransformComponent(3ULL) PhysicsTransformComponent(7ULL)
When running: cargo r -- RenderingTest
should be fixed in #903bc20
Branch: feat/ecs Files effected:
Issue: Archetype values stored into GlobalStorage are inconsistently off by 1. This is a known issue for EntityArchetype, but potential issue for ComponentArchetype aswell, given storage is similarly done.
There are no reproduction steps. As this will happen between consecutive runs with no change in code. Issue could be with storage into GlobalStorage inside the Entity.lua/Component.lua file
Consideration: This issue could be occurring when Enums is added to _G/Namespace, where it is not loading consistently into _g.