- Home /
How can I overcome the 2GB Resource File Limit and load more than 2GB of assets into the scene?
Hey all,
I am trying to load more than 2GB of assets into my Resource File. (Yes, I have alot of assets in the scene!)
But, there is a 2GB limit, and when I go over that limit, my whole scene disappears in Play mode. (It's fine in Editor mode.)
How can this be overcome? Can multiple Resource Files be used somehow?
I'm running 32-bit.
Thanks! Adam
I am having this problem too. This is absolutely ridiculous that it is not a setting.
Answer by Bunny83 · Aug 09, 2012 at 04:24 PM
I guess they put a 2GB limit on files because a lot older filesystems do not support larger files. Usually the limit was 4GB for FAT32 systems, but i guess there are other systems as well.
As far as i know Unity packs all Ressources from the ressources folders in one asset. There's no way to split them. The best way is to not use the ressources folders. Reference your assets from scenes, that's the usual way. You can even create asset-scenes that just contains certain assets so they are packed to this level. They can be used in other levels as well. Assets in the Ressources folders are loaded even before the first scene.
Your answer
Follow this Question
Related Questions
What is the cost of using Resources.Load? 2 Answers
Why does resources.load not work or what am I doing wrong? 1 Answer
Loading resources into a ScriptableObject instead of Resources.Load? 1 Answer
ridiculous load time using Resources.Load() on android build 0 Answers
Referencing prefab in code without using editor or Resources.Load? 0 Answers