Failed to resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen
来源:互联网 发布:照片美图软件 编辑:程序博客网 时间:2024/06/05 15:43
更新了最新的Unity5.2 , 然后打算将 ULua 的代码打个包在 IL2CPP 下跑跑看有没有什么问题。结果打包就出现了错误。
Failed to resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen
Failed running /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe -out
查看错误提示到 UnusedBytecodeStripper2.exe 根据这个文件名来看,是用来裁剪无用代码的工具,是不是IL2CPP 裁剪代码出错了呢?
然而在设置中居然没有找到裁剪相关的选项。。。。
。
。
。
在官网找到下面的答案,测试后正常打包了。
http://forum.unity3d.com/threads/5-2-error-building-ios.349732/#post-2287024
Okay, here is the solution:1. In Player Settings switch from IL2CPP to Mono in Scripting Backend2. Then find the now appeared dropdown "Stripping Level" and change it from "use Micro mscorlib" to "Strip Byte Code"3. Switch Back to IL2CPP in Scripting BackendiOS Compiles fine now.
0 0
- Failed to resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen
- Unity打包iOSFailed to resolve base type System.ServiceModel.Configuration.BehaviorExtensionElement for
- request for the permission of type system.net.webpermission ....... is failed
- System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermi
- Cannot implicitly convert type 'System.Collections.ArrayList' to 'object[]' ;System.Security.SecurityException: Requested regist
- Type system
- A Type-Safe Event System for Unity3D
- A Type-Safe Event System for Unity3D
- Request for the permission of type 'System.Data.SqlClient.SqlClientPermission failed
- cannot implicitly convert type System.DateTime? to System.DateTime.
- System.Security.Principal命名空间的点滴
- 【问题处理】Unable to cast object of type 'System.DBNull' to type 'System.String'.
- System.Type类
- System Type Triplets
- System.Type类
- System.Type.Missing
- 反射,System.Type类
- gobject type system
- linux无密码ssh登录
- 信息系统项目管理师-人力资源管理知识点
- iOS开发中最有用关键的代码合集(1)
- 第一篇博客
- 信息系统项目管理师-沟通管理知识点
- Failed to resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen
- 数组第k大的数
- hdu 2795 Billboard(单点更新)
- iOS开发中最有用关键的代码合集(2)
- 我不是买不起,而是把钱花在了更有意义的地方
- Fiddler 扩展编程 ——1
- string删除空格
- UICollectionView
- 2015年自然语言处理顶级会议EMNLP都讲了些什么?