Skip to content
Discussion options

You must be logged in to vote

Check out the command buffer for this. Essentially modifying entities mid cycle can cause archetype changes. So instead you should add modifications to the command buffer so that you can choose when they execute and your modifications will be loop safe.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CrazyIvanTR
Comment options

Answer selected by CrazyIvanTR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants