Search Unity

Question Caching a Assetbundle from bytes[]?

Discussion in 'Asset Bundles' started by CloudyVR, Jul 16, 2022.

  1. CloudyVR

    CloudyVR

    Joined:
    Mar 26, 2017
    Posts:
    715
    I am using a .Net socket to download assetbundles as bytes[] and load the Assetbundle object to the scene.

    I am having trouble understanding if it is possible to cache a Assetbundle object manually?

    The socket sends a filename with the bytes so I do have a unique filename I can use to identify the cache,

    But I am completely lost how to create a cache from a Assetbundle object?

    Is there any way to cache a assetbundle where I have downloaded the bytes and a filename?