Skip to content

Bevy system function params is not satisfied #4472

Answered by hymm
shenopkss asked this question in Q&A
Discussion options

You must be logged in to vote

The maximum number of system params a system can have is 16.
There are a few possible solutions to this:

  1. Group your params into tuples: https://bevy-cheatbook.github.io/programming/systems.html?highlight=16#systems
  2. Use #[derive(SystemParam)] to group params
  3. break your system up into smaller systems.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alice-i-cecile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
A-ECS Entities, components, systems, and events
2 participants
Converted from issue

This discussion was converted from issue #4471 on April 14, 2022 03:21.