#fucntions on BlobAssets

1 messages · Page 1 of 1 (latest)

marsh summit
#

I read in the docs that blob assets must be accessed by reference

naïvely I assumed that this
SomeBlobAssetRef.Value.SomeFunction()
would count as access by reference for the function call

it seems that this does not work (the blob arrays inside are totally bogus), yet I would be surprised if there was a hidden struct copy in this case

what am I missing?

#

oh.. oh wow, I marked the function in question as readonly (thus creating a defensive copy and invalidating the reference)