- Home /
Is there still a 4 GB limit on the ResS file ?
I was working in an old version of Unity and there was a limit on having a resource ".ResS" file larger than 4 GB in the build of the game, or the game would start failing to load textures and other artifacts. It was due to a 32 bit signed integer or something.
Is this still a limitation in the new versions of Unity?
Answer by Bunny83 · Oct 25, 2018 at 02:41 AM
The general restriction of the file size to < 4GB is usually to be backwards compatible with FAT32. Most USB memory sticks are still formatted with FAT32. There might be also a technical limitation within the file itself. Though the exact format is not known since it's propritary, some people have partially reverse engineered the format. It looks like most internal sizes and offsets are stored as 32 bit integers. So yes, this most likely still applies.
The page i've linked actually got many type codes wrong, though they were just guessed by reverse engineering. Unity actually has a documentation of the type codes, just someone is interested in that.
Your answer
Follow this Question
Related Questions
32bit and 64 bit plugin environment 1 Answer
Problems with 64-bit systems 0 Answers
Any number that exceeds 32 bits crashes game 1 Answer
Can 32bit Unity editor make 64bit games? 0 Answers
Building to iPad4 with Unity 2019 0 Answers