Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
1
Question by Graphicated · Apr 06, 2012 at 09:34 PM · androidfacebook

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

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?

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Graphicated · Apr 06, 2012 at 11:07 PM 0
Share

I´m using 3.5

avatar image rutter · Apr 06, 2012 at 11:28 PM 1
Share

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.

avatar image Graphicated · Apr 07, 2012 at 12:14 PM 0
Share

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 :) .

avatar image InstantiatedGameObject · Apr 21, 2012 at 07:21 PM 0
Share

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?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Finding the “Android class name” in “AndroidManifest.xml” generated by Unity3D 0 Answers

Connect to Android in Unity 1 Answer

Unity Facebook SDK For Android Crashes when Logged in 1 Answer

Help Facebook SDK 0 Answers

Facebook Integration for Android Game 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges