Entity Ids have finite limit
See original GitHub issueAs I am sure someone else will come out with this at some point, currently the Ids of entities were VERY basic in implementation and will not really track unused ids etc so if you were to instantiate over the period of a game int.MaxValue
I believe currently it will blow up.
Ids were implemented but the use cases for them seem minimal, so it may be simpler to just remove the notion of Ids, but if there are some good use cases we can do some work around this area to make Ids more intelligent.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Entity ID limit. : r/feedthebeast
Entities are stored as an integer src, so according to NBT spec src, it can store entities from -2,147,483,648 to 2,147,483,647, a huge...
Read more >What is the max character length of Entity Id?
The id for an entity is part of a key, so the limit is 6 KiB for the entire key, including all ids...
Read more >what is the maximum salesforce id length [duplicate]
1 Answer. Salesforce is using 18 character IDs. There are also the shorter 15 char case-sensitive ones. Salesforce recommends the use of the ......
Read more >A guide to IDs for JPA entities. IDs generated on the server
2⁶³-1 is a big number. If we store 10,000 objects per second, it will take us about 29 million years to exhaust the...
Read more >A Roadmap to Entity Relationships - Sander Mertens - Medium
Since entity relationships first got introduced to Flecs in 2021, ... It works well as long as we have a finite list of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would it be possible to use a Guid instead of int?
Just to keep everyone in the loop, I have done this on a local branch so it uses Guids, however my laptop screen broke a bit, so I am waiting for it to be returned before I test and commit that branch. So will mark it as in next release but its not technically been comitted yet.