#BlobAssetReference and Baker

1 messages · Page 1 of 1 (latest)

spark trail
#

What is the correct way to create BlobAssetReference in baker?
I'm wanting to create a blob asset reference to store a NativeHashMap<FixedString64Bytes, int> in component by using BlobBuilder. It worked well when I add in runtime, but when I use in Baker it didn't work.

deft zodiac
#

Native containers can't be stored in blobs

spark trail
#

in the baker or also in runtime?

deft zodiac
#

yeah that's a runtime blob

#

That's fine, though why you would do this is a better question

spark trail
#

ah because my entity have a list of attributes and I want to use a hash map to get values of these attributes via Name

#

Is there any better way?

#

as I know, a normal component can not store any kind of collection