#Why are blob assets not part of the collections package?
1 messages · Page 1 of 1 (latest)
Mostly because collections package just raw collections data, and doesn't handle any global state lifecycle. Blobs not just some collections, they're have own shared global lifecycle and cache tied to Entities SubScenes and Bakers (also one important thing is incremental baking where blob asset store and computation context involved a lot), and this handles blobs lifecycle.
partly that, and partly when it occurred to us to consider this, it was really hard to add stuff to collections because of internal bureaucracy, and really easy to add stuff ot entities, because entities wasn't 1.0 yet. now the bureaucracy has eased slightly, and both are pretty hard to change, but less than collections used to be. i wouldn't be surprised either way if blobassets stayed in entities or moved to collections (or even to the core engine, who knows)
🤔 Or move to serialization package?