Case REPLAY:
Open the game, go online before the check, in the detection function, the inexplicable crash, flash back ... Immediately re-pull the game, ready for a simple reproduction after the research and development to repair, found that can not be necessary. This time to the bill of lading is too low ~ ~ ~ To find research and development asked the next, its own application has done crash abnormal report. (Currently this piece of open source framework is more, I will not repeat it here) directly to view the last crash exception escalation information, combined with the symbol information to restore stack information.
Case Detection:
To view the restored stack information, one of the following information is:
found that the perpetrators of the "murder" eventually should be related to mono itself. And from _g_log's invocation, it should be the Get_numerous_trampoline function that gives us clues.
View the corresponding function prototype for mono source code
The above Red flag information shows:
For exceptions in the Get_numerous_trampoline function, the error message is handled as follows: Ran out of trampolines of type
After viewing this information, you can search for the corresponding solution directly.
So refer to:
Http://answers.unity3d.com/questions/64909/ran-out-of-trampolines-of-type-2-ios.html
In unity made a change, this thought all should be able to return to normal,, will not appear yang too called the Little Dragon Woman back is a sad and heartbreaking,,, but build finished, found,, or crash, view the stack or,,, jit,~~~ and still the problem here, , I feel a little angry,,, and then fell into a deep pit,,, you exist, bug deep in the pit,, how to escape, how to escape ~ ~ ~
Final Results and Solutions:
This is the problem here, and that's the reason, but the change is wrong. The correct is:
In Xcode (I'm iOS here), check the corresponding project, and then
On the project option--iphone
The default value of this parameter is 1024, try to increase this value until you meet the needs of your application (Ran out of trampolines of type 0)
If you are using too many generic nesting, such as list<t> and list<t> members, you can do so by adding additional parameters-aot "nrgctx-trampolines=2048".
The default value for trampoline Type 1 is 1024.
If your interface is operating frequently, you can solve it by adding additional parameters-aot "nimt-trampolines=512".
The default value here is 128.
Finish the finishing call ~ ~
Get_numerous_trampoline troubleshooting record of abnormal flash of game on iOS platform