Search Unity

Hashmap in a blob asset

Discussion in 'Data Oriented Technology Stack' started by PublicEnumE, Nov 17, 2019.

  1. PublicEnumE

    PublicEnumE

    Joined:
    Feb 3, 2019
    Posts:
    162
    I'm still wrapping my head around the proper usage of blobassets.

    I was wondering if one can store a NativeHashMap<T> in a blob asset, or if blob data has the same limitations as the data you can store inside an IComponentData.

    At a high level, my goal is to store an immutable lookup table on my entity, which I can pass into jobs.

    Thanks for any advice!
     
  2. felipin

    felipin

    Joined:
    Nov 18, 2015
    Posts:
    39
    Blobs doesn't support it at least as it's currently implement but there's no limitation for "BlobHashMap<T>" to be implemented in the future
     
unityunity