Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feature Request Merging Chunks

Discussion in 'Entity Component System' started by Opeth001, Dec 15, 2022.

  1. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,068
    Hello Unity,

    Does Unity plan to implement merging fragmented chunks functionality?
    I believe this is not something specific to certain games but necessary for all games using the entities package.

    more details : www.youtube.com/watch?v=_35EEk4NQhQ&t=410s
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,574
    Yeah, I have seen that vid before.
    Defragmentation would be an interesting mechanics.

    I do wonder, what would be otherwise best approach, to defragment chunks.
    Maybe checking out how many entities is in a two chunks lets say, and moving entities from chunk with fewer entities, to more filled chunk.
    Video guy mentions doing defragmentation later, or for fewer chunks per frame. Or something similar along these line.
     
    Opeth001 likes this.
  3. MicCode

    MicCode

    Joined:
    Nov 19, 2018
    Posts:
    58
    Anyone remember the entities debugger from older version of entities?
    There was a graph showing chunk use by systems, now we only have the archetype windows with a few numbers about chunk count. We could use more tool that shows chunk state and level of fragmentation
     
    Opeth001 likes this.