MonoDevelop 设置修复“用完 2 型蹦床"错误 [英] MonoDevelop settings to fix "ran out of trampolines type 2" error

查看:16
本文介绍了MonoDevelop 设置修复“用完 2 型蹦床"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一款 iOS 应用.当我们在 PC 上测试应用程序时,一切正常,但当我们在 iPad/iPhone4 上运行它时,我们经常收到Ran out of Trampolines type 2"错误消息和应用程序崩溃.最近几天我们一直在尝试找出原因/修复它并尝试了我们在网上找到的所有建议,但我们仍然没有取得任何进展.我们发现的唯一解决方案是来自讨论使用编译器设置调整蹦床设置的帖子/网页,如下所示: -aot "nrgctx-trampolines=4048" -aot "nimt-trampolines=4048" in monotouch.但是我们使用 Unity3D 来开发我们的应用程序,所以我们没有向我们公开这个编译器选项.但是我相信 Monotouch 和 Unity3D 都是基于 Mono 框架的,所以我猜同样的编译器设置也可以应用于我们的 unity3D 项目?

we are developing an iOS app. When we tested the app on PC, everything works well but when we ran it on a iPad/iPhone4 we frequently receive the "Ran out of Trampolines type 2" error message and the app crash. We have been spending the last few days trying to identify the cause/fix it and tried all the suggestions we have find on the net, we still have not made any progress. The only solution we have found are from the posts/webpages talking about the adjusting the trampoline settings with compiler settings like this: -aot "nrgctx-trampolines=4048" -aot "nimt-trampolines=4048" in monotouch. But we are using Unity3D to develop our app so we don't have this compiler option exposed to us. But I believe both Monotouch and Unity3D are based on the Mono framework so I'm guessing the same compiler settings can be applied to our unity3D project as well?

有人知道这是否正确吗?如果是的话,谁能给我一些关于如何在我们的 Unity3D 项目中启用此选项的说明?

Does anyone know if this is correct? if yes, would anyone be able to give me some instructions on how to enable this option in our Unity3D project?

提前非常感谢!

推荐答案

当前Unity3D版本支持AOT编译器命令行选项.这是该问题的解决方案:Unity Serializer、Mono 和 Trampolines!

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

这篇关于MonoDevelop 设置修复“用完 2 型蹦床"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆