-
Notifications
You must be signed in to change notification settings - Fork 3
Rendering performance has degraded in v5 #12
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
Comments
Hopefully this issue has been at least slightly improved on low-performance systems by 0f282de |
I have a feeling that this issue was related to the ball path problem a while ago. Since beast renders the ball path, this might explain it. This would also mean that the issue has been solved. Results from cProfile show max_slice = int(math.ceil(duration * 120))
locations = [s.physics.location for s in pred.slices[0:max_slice:step_size]] |
Can confirm that 0f282de fixed the issue. My |
Noticed by both me and Scumclass (Discord help thread).
In v4, Beast and Noob Block were performing fine with rendering enabled (100% of packets answered). In v5, Beast is at 3% of packets answered with rendering enabled even though it is the same number of rendering calls (Note: It is also slow then rendering is disabled for the match). Since it worked in v4, the issue is not simply "Python slow".
We have not converted any medium+ sized bots in other languages to v5, so we cannot exclude that the problem may be in core.
Beast in v4: https://github.com/NicEastvillage/RLBot-Beast/tree/RLBotV4
Beast in v5: https://github.com/NicEastvillage/RLBot-Beast/tree/RLBotV5Convert
The text was updated successfully, but these errors were encountered: