Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


headerSize

Total size, in bytes, of the header sections across all serialized files in the build output.
Read time 1 minuteLast updated 12 days ago

Definition

public ulong headerSize { get; }

Remarks

Each serialized file has a header and metadata section, that contains the object table, TypeTrees and external file dependency information. The rest of each file is dedicated to storing the serialized state of the Unity Objects assigned to that file. This size is calculated before any compression is applied. Header size is included in the _serializedFileSize total.