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

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

问题描述

我们正在开发一个iOS应用.当我们在PC上测试该应用程序时,一切正常,但是当我们在iPad/iPhone4上运行该应用程序时,我们经常会收到"Ran out of Trampolines type 2"错误消息,并且该应用程序崩溃.最近几天,我们一直在尝试找出原因/解决问题,并尝试了所有在网上找到的建议,但我们仍然没有取得任何进展.我们发现的唯一解决方案是在帖子/网页上,讨论如何使用如下编译器设置来调整蹦床设置:-aot"nrgctx-trampolines = 4048" -aot"nimt-trampolines = 4048"在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序列化器,单声道和蹦床!

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天全站免登陆