Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityCommandRecorder sets components on entity after it is disposed #185

Open
alkboda opened this issue Jun 19, 2023 · 0 comments
Open

Comments

@alkboda
Copy link

alkboda commented Jun 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant