DefaultEcs icon indicating copy to clipboard operation
DefaultEcs copied to clipboard

EntityCommandRecorder sets components on entity after it is disposed

Open alkboda opened this issue 2 years ago • 0 comments

Met the situation when recorder is holding commands for some entity and that entity is disposed before recorder is executed. If you execute recorder this way right after the entity is disposed, then next created entity won't be empty, but instead will have components set by the recorder. Can't say this is a bug, but it would be nice to have some warnings for such situation, at least with some predefined compilator symbols like DEBUG

alkboda avatar Jun 19 '23 18:06 alkboda