- Home /
Our game's Assembly-CSharp.dll size is too big.
Hello.. When I build my game on XCode 5, I get below error.
========================================= ld: Unable to insert branch island. No insertion point available. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) ========================================= The reason is Assembly-CSharp.dll bigger than 62MB. So I reduced my c# script, and Assembly-CSharp.dll size is 61.5, I could build my game. But I have to update my game, and It would be over 62MB. I wanna reduce Assembly-CSharp.dll more and more..
Do you have any ideas?
Answer by whydoidoit · Feb 24, 2014 at 06:13 AM
Can you move some code into the Plugins folder? That means you end up with 2 DLLs and it should work better.
Also turning off any kind of script debugging etc reduces the size - though that's probably already off right?
Thanks whydoidoit. Of course I turning off script debugging, and now I move some script to Plugin folder. After test, I'll write about result.
ps. sorry i'm not good at english...
(Converted your "Answer" to a comment - on UA "Answer" means "Solution" and not "Reply" - there's a hidden "add new comment" button on the right)
Let me know how you get on. We'll struggle through with the English thing - I bet your English is 100x better than any attempt I might have at your language :)
Thanks whydodioit. I attempted moving our code to Plugin folder. It was hard working, but finally we build successed. I think we had to design game code considering Plugin folder such as $$anonymous$$odel class, View Class have to put in Plugin folder.
Yeah it's a good idea. I try to put everything that is not game specific in Plugins from the start now.