- Home /
Serialized files over 4.00 GB (4294967295 bytes) cannot be loaded by the player
Hello I get this error message after importing. "Serialized files over 4.00 GB (4294967295 bytes) cannot be loaded by the player" Does anyone have any idea how this can be circumvented? I'm using a 64bit version. Or how can I save or import data over 4GB ? THX
Answer by AconitumNapellum · Nov 06, 2019 at 12:23 PM
You can use AssetBundles.
There is a limit of the maximum file size for resources. Resources are packed into a single file during the build. The file contains a header and one of the fields inside the header is size, this is stored as a 32 bit unsigned integer, the limit of which is 4GB. There has been some research into changing the size property to a 64bit unsigned integer but it is not a simple task due to backwards compatibility.