-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Panic: add with overflow in exclusive function system #7140
Comments
The line responsible: it's a change tick issue, as I suspected. @maniwani should we just be doing a wrapping addition here, or is there a more complex strategy required? |
Wow, apparently, we had this bug even before exclusive systems were changed. Yes, we should be using |
Hi, I just added a PR for this. Let me know if I am missing anything, as it's my first time contributing :) |
# Objective Fixes bevyengine#7140 ## Solution As discussed in the issue, added wrapping_add ---
# Objective Fixes bevyengine#7140 ## Solution As discussed in the issue, added wrapping_add ---
Bevy version
0.9.1
What you did
I left the system running overnight.
What went wrong
The text was updated successfully, but these errors were encountered: