MonoDevelop settings to fix “ran out of trampolines type 2” error

自古美人都是妖i 提交于 2019-12-04 02:42:48

The current Unity3D version supports AOT compiler command line options. Here is a solution for the problem: Unity Serializer, Mono and Trampolines!

Trampolines would require some kind of code generation, and iOS forbids code generation on the fly.

But it's possible that I'm wrong, and trampolines can be prebuilt, for known calls. If such is the case, then please go to your Unity folder (Mac OS X paths here), and check these two shell scripts:

/Applications/Unity/Unity.app/Contents/Frameworks/Mono/bin/build /Applications/Unity/Unity.app/Contents/Frameworks/Mono/bin/xbuild

They should be calling ./xbuild.exe. Though they might be others, please do a grep on them:

/Applications/Unity/Unity.app/Contents/Frameworks/Mono/bin $ grep -ri '.exe \"$@\"' .

Better off, I think there was "stackOverflow" unity based group, not sure about it's name though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!