Im running into a very annoying issue right now.
Since I added another plugin in my project (UltimateMobile), the build for ios won’t work, unity crashes with an “Out of memory!” error.
I tried to use another lib, UniBill, with the same result.
It looks like, if I add more code and assets, Unity reach a point where the memory isn’t enough.
The project runs fine on Editor mode.
By the way, I am building on a Mac with 16Gb of ram.
My project has an Assets folder with about 900MB of content, with about 350MB in the Resources folder.
Any insight on this? Some help would really be appreciated.
I’m in similar situation here. After I’ve updated my Mac to Yosemite, Unity started to crash while trying to build the project. My project is also pretty large (Assets = ca 1,1 GB Resource = ca 230 MB). From what I’ve read in crash report it seemed that Unity crashes while converting textures. It all started after updating to yosemite and there was no difference whether it was 4.6.2v or 4.5.1v. That’s why we thought it could be a matter of system drivers and decided to run MacOS on virtual machine. I’ve installed MacOS 10.9.5 on vm and Unity was able to build the iOS player - no crashes. This idyll lasted for a few months until recently Unity started to throw error at the end of AOT compilation: “Error building Player: OutOfMemoryException: Out of memory”. Error is displayed after the build player progress bar already disappeared. Increasing VM memory from 4 GB to 5.5 GB made no difference. I have already reported a bug concerning the crash on the Mac (http://goo.gl/viuK1A) but it was a few moths ago and there is no response from Unity. I’ll get back here if I have any news on this.