DefaultEcs
DefaultEcs copied to clipboard
EntityCommandRecorder sets components on entity after it is disposed
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