I’ve updated to the new ECS package and started refactoring some systems to use the RequireForUpdate. I’ve noticed that the systems are now ignoring the Filters of the componentGroups.
Anyone else can confirm? I’m also wondering if Filters will be deprecated as well.
Cant confirm, but the new samples do use SetFilter so I would think it wouldn’t be deprecated soon since they don’t seem to use Injection or the other things they said were soon to be deprecated in the new samples…
The group2.CalculateLength will be at 0 but it will still trigger an OnUpdate. It seems like the system believes the ComponentGroup is not empty because it does not take into consideration the filters but when the Update happens the filters are applied and the Length of the componentGroup is set to 0.
Essentially do a CalculateLength == 0 and early return to fix this but I’m not sure if this is the intended behaviour.