junkdog / artemis-odb

A continuation of the popular Artemis ECS framework
BSD 2-Clause "Simplified" License
769 stars 109 forks source link

[BUG] System component mapper is null in process() after same component type is removed in same system call #658

Open BambooBandit opened 1 year ago

BambooBandit commented 1 year ago

idea64_D36I3w613u

if it didn't have the component, then why'd the system run for it?

I have an UpdateableComponent and UpdateableSystem. Sometimes, while UpdateableSystem processes an entity, it ends up making other entities remove an UpdateableComponent, leading to this strange nullpointer.