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

Panic "no empty slots available in array" when despawning entities #235

Closed
DGriffin91 opened this issue Aug 19, 2020 · 1 comment
Closed
Labels
S-Duplicate This issue or PR already exists

Comments

@DGriffin91
Copy link
Contributor

I'm getting an error when trying to despawn cubes in a system:
thread 'main' panicked at 'no empty slots available in array' [...]render_graph\nodes\render_resources_node.rs:50:17

It despawns the first one fine, then crashes. In my example I am spawning a cube every second and then despawning them when they move to a specific point. Do I need to free any render resources?

I put together a fairly minimal example here as a gist:
https://gist.github.com/DGriffin91/b592d4ce3ca8ea99204c9ba9a057b74c

Not sure if I am doing something wrong, or if this is a bug.

@DGriffin91
Copy link
Contributor Author

Just noticed there is already an issue about this: #135
Closing this duplicate one...

@karroffel karroffel added the S-Duplicate This issue or PR already exists label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Duplicate This issue or PR already exists
Projects
None yet
Development

No branches or pull requests

2 participants