- Home /
Build error with large resources folder (newBlock == m_ActiveWriter.block + 1)
Hi, we are building an adventure game with thousands of audio clips for voices, two languages for now, and after we added the second language we are not able to build the game. We are getting the next errors:
newBlock == m_ActiveWriter.block + 1 block == m_Block || m_Block+1 == block (the trace here: http://pastebin.com/61Ru7dkH)
Among this, a dialog window shows an error with a message about tempfile and the pointer to the start of it (cannot write the exact message right now since I don't have access to the computer)
Could this be due to the size? Original audio is wav, but is set to be compressed in Unity. Wav files take several gigabytes (if I recall well >6Gb).
Yep, got solved long time ago... so long that I don't remember the exact solution, if I'm right, I solved it splitting the resources into two folders. I created a new folder with name "Resources" in other location and then I moved one of the audio language folders to this new folder. So I had something like this:
Assets root |---- Resources ---- Audio ---- Spanish |---- Resources2 ---- Resources ---- Audio ---- English
Hope it helps.
Thanks, will look into trying out your solution and see if it works. Will report back.
Edit: Tried this solution for a very large resources folder on Unity 4.6.x - exporting to IOS, but the problem still remains the same.
Your answer
Follow this Question
Related Questions
Why these files get built ? 1 Answer
Building single scene is much too large! 0 Answers
Distribute terrain in zones 3 Answers
Unity crash on build to iOS 2 Answers