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

Prevent addSystem/removeSystem during update #34

Closed
wants to merge 1 commit into from

Conversation

gogoprog
Copy link
Contributor

Hello,

I had very weird and hard-to-debug issues when I was not using the updateComplete signal.
So I think it should be forbidden to add or remove systems during the engine update.

What do you think?

@nadako
Copy link
Owner

nadako commented Aug 24, 2016

This makes sense to me, however it's not implemented in upstream (original ash) and technically this is a breaking change, because there might be some weird cases when one wants to insert a system into update loop so that it's executed in current iteration...

@gogoprog
Copy link
Contributor Author

You are right it should not differ from the original Ash

@gogoprog gogoprog closed this Aug 24, 2016
@jamiltron
Copy link
Contributor

Yeah I think the official word from Richard Lord, if I'm reading this issue correctly: richardlord/Ash#39, is to just use updateComplete.

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

Successfully merging this pull request may close these issues.

3 participants