Search Unity

What is the purpose of the File Read Buffer(s) in Addressable Metadata?

Discussion in 'Addressables' started by SonicBloomEric, Mar 31, 2021.

  1. SonicBloomEric

    SonicBloomEric

    Joined:
    Sep 11, 2014
    Posts:
    1,090
    I’ve been reading the latest Unity blog entry and it has this curious statement:
    The Addressables documentation further states this:
    Ignoring the 1-vs-2 buffer counting difference here, neither of these documents explains why those file “read buffers” need to be allocated, let alone kept alive. Does anyone have any insight as to what those are for?
     
    Jonas-Neuston likes this.
  2. Jonas-Neuston

    Jonas-Neuston

    Joined:
    Jun 10, 2017
    Posts:
    70
    Yeah, I'd really want to know that as well. What are they for? We're seeing a significant memory footprint of SerializedFile when using Addressables. We have tens of thousands of SerializedFile entries and they take up several hundreds of MB but we only have two bundles. With the lack of documentation around this it's very hard to know what's going on and how to get rid of it.
     
  3. shelllee

    shelllee

    Joined:
    Apr 12, 2018
    Posts:
    18
    read buffer and decompress buffer?not exactly...