-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature: Debug long-term entity id issues. #125
Comments
So it would crash on getting an entity by (invalid) id? Have you tried it in practice with some plugin of yours, maybe? Is this really a common problem? Just curious for the sake of my project, also I'm not making enough games lately. |
It would report illegally access to the deleted entity, and report the stack trace of wherever the entity was deleted. Much like the rest of the debug plugin https://github.com/DaanVanYperen/artemis-odb-contrib/wiki/Debugger-Plugin It's caused by user error when referencing entity ids. I still run into it myself ever so often so for me its a worthwhile feature to add to the debug plugin. |
Option to hold deleted entity ids for X seconds before allowing them to be reused. This helps debugging dangling references that get recycled.
The text was updated successfully, but these errors were encountered: