-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Split Main world and Render world Entity space #14988
Conversation
This reverts commit b8b8225.
Co-authored-by: Trashtalk217 <trashtalk217@gmail.com>
Co-authored-by: Trashtalk217 <trashtalk217@gmail.com>
Co-authored-by: Trashtalk217 <trashtalk217@gmail.com>
Co-authored-by: Periwink <charlesbour@gmail.com>
Entity subspace, which looks like it may meets my needs. |
Can we close this? |
Closed as Retained render world has been merged #15320 |
Objective
Solution
get_or_spawn
to share entities across worlds.Advantages
assets as entities
andnetworks
Drawbacks
WorldCount * (20 * EntityCount + ( SparseSetComponentCount * 8 * SparseSetEntity) bytes,
for example , after this PR, the memory ofmany_cubes
(2 worlds ,16w Entities) increased from 380 mb to 390mbPerformance
TODO
Migration Guide
TODO