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?