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 /
avatar image
4
Question by Doolwind · May 17, 2011 at 11:56 AM · iosiphone

Ran out of trampolines of type 2 - iOS

When running our game on iOS (have tested both on iPhone 3G and iPhone 4) we are getting a consistent crash with the following error:

Ran out of trampolines of type 2 in '/private/var/mobile/Applications//.app/Data/Managed/mscorlib.dll' (128)

The crash is not linked to any specific line of code as rearranging the code causes the crash after a certain number of operations occur, not the operations themselves.

The best answer I can find is here stating: I need to add this to the arguments for monotouch -aot "nimt-trampolines=2048". However I can't pass this argument when using Unity can I?

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

2 Replies

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

Answer by ubik2 · Jun 05, 2012 at 04:20 AM

The current version of Unity has the ability to pass in the AOT compile options to fix this problem. Basically, you go to Player Settings > Other Settings and set the AOT option to nimt-trampolines=512 (or perhaps more) See http://unity3d.com/support/documentation/Manual/TroubleShooting.html

Comment
Add comment · Show 2 · 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 robot-ink · Apr 30, 2015 at 09:02 PM 0
Share

FYI had this problem with unity 4.6.2

avatar image subjectZero · Mar 29, 2016 at 11:29 AM 0
Share

Thanks this fixed it for me

avatar image
3

Answer by Doolwind · May 17, 2011 at 09:23 PM

I just received this email back from Unity. Looks like it will be resolved in the next version:

"This is a known problem with Generics. In the next release of Unity we will expose the aot options in the player settings that will allow you to change that parameter."

Comment
Add comment · Show 1 · 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 alothe · Jul 22, 2011 at 02:27 AM 0
Share

I am also running into similar problems. I am currently on the latest version 3.3 of unity that's available on the website for download. Are the aot options supposed to be available in this version. If so where are they located?

(Ps. I have ios sdk 4.3 isntalled and running on a Intel based $$anonymous$$ac).

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Simultaneous Android and iOS development 1 Answer

iphone ios version and sdk version 1 Answer

iOS hardware limitations. 1 Answer

Problem with texture blending and vertex color shader for iOS 1 Answer

Optimizing Projectile Creation and Destruction 2 Answers


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