Summary of reasons for Flash down on iOS platform (i): "Ran out of trampolines of type 0/1/2" run-time error

Source: Internet
Author: User

"Ran out of trampolines of type 0/1/2" run-time errors usually occur when using a large number of recursive generics. To see this error you need to connect the device directly to the device to run debugging in order to see, you can imply that the AOT compiler allocates more type 0, type 1, or type 2 trampolines. In addition, the AOT compiler command-line option can be specified in the other settings (other setings) section of player settings (player Settings). For type 1 trampolines, specify NRGCTX-TRAMPOLINES=ABCD, where ABCD is the value required for the new trampolines (such as 4096). For type 2 trampolines, specify NIMT-TRAMPOLINES=ABCD, and for type 0 trampolines, specify NTRAMPOLINES=ABCD.

Set multiple ways as follows: nrgctx-trampolines=8192,nimt-trampolines=8192,ntrampolines=8192

Explanation
nrgctx-trampolines=8096 (These was recursive generics–the default is 1024)

nimt-trampolines=8096 (These-to-do with interfaces and the default is 128)

ntrampolines=4048 (generic method calls, by default there is 1024)

Referenced from: http://whydoidoit.com/2012/08/20/unity-serializer-mono-and-trampolines/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.