-
I'm trying to create 100,000,000 entities but the creation failed when calls registry.create() for more than 1,048,575 times.
` The assertion failure happened at entt::basic_storage::entity_at(). ` ` |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
By default, entt represents entities using 32 bit. 20 bit for the id (max value: 1048575) and 12 bit for the version/generation. This can be customized to suit your needs. |
Beta Was this translation helpful? Give feedback.
https://github.com/skypjack/entt/wiki/Frequently-Asked-Questions#custom-entity-identifiers-yay-or-nay