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

[LOVE 12.0] SpriteBatch hard crashes the game if it goes past capacity #2117

Closed
swordcube opened this issue Nov 10, 2024 · 1 comment
Closed

Comments

@swordcube
Copy link

swordcube commented Nov 10, 2024

SpriteBatches seem to hard crash the game without any error logged if they go beyond capacity

This is in the latest actions build from last week, here's a video of the problem:

2024-11-09.19-44-03.mp4

It adds one more than the capacity before giving up and crashing

In the video i was setting the 0th index of the batch, which is bad, but that and batch:add() both
have the exact same behavior.

Here's a repro project of the problem:
spritebatch-problem.zip

@slime73
Copy link
Member

slime73 commented Nov 10, 2024

Fixed, thanks for the repro project!

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

No branches or pull requests

2 participants