- Home /
Too Many heap Sections - on Building to Android
Hello,
I exported the dll files from a jar file I build from the Facebook SDK for android.
now I can access the SDK in unity and this is all ok, but when Building to Android Platform, I get the "Too many Heap Sections Error" and then Unity Crash..
even if I dont call any class from the sdk. just beeing in the Project assets folder is enough to get unity to crash.
do any one know how to solve this , or what is actully happening here ?
to be more specific : I did what I read here in one of the answers: Link
Answer by rutter · Apr 06, 2012 at 10:59 PM
Judging from this forum thread, this might be a problem with Mono's garbage collector.
Which version of Unity are you using?
Bummer. $$anonymous$$y only advice past that was to upgrade if you haven't, already. If you have any especially esoteric data structures or scripts you can cut, that might be worth a shot. Otherwise you're in a pretty tight spot.
In the interest of giving you some suggestion, you could try deleting or disabling parts of your project until it builds and runs successfully. Won't immediately fix the problem, but it could at least help narrow it down.
thanks alot for your efforts,
your suggestion did it, i removed all the I$$anonymous$$V$$anonymous$$ dll´s and debuged the errors andd added the missing dll´s , and the export was successfull :) .
Graphicated I have exactly the same problem as you, could you be specific about what I$$anonymous$$V$$anonymous$$ dlls you were required to remove?