IL2CPP Managed Stripping Level: Medium xlua报错
2021-06-08 19:22:10,763[ Error] [06/08 19:22:10.762]xLua exception : c# exception:System.NullReferenceException: Object reference not set to an instance of an object. at XLua.ObjectTranslator.getDelegate (XLua.DelegateBridgeBase bridge, System.Type delegateType) [0x00000] in <00000000000000000000000000000000>:0 at XLua.ObjectTranslator.CreateDelegateBridge (System.IntPtr L, System.Type delegateType, System.Int32 idx) [0x00000] in <00000000000000000000000000000000>:0 at XLua.ObjectTranslator.GetDelegate[T] (System.IntPtr L, System.Int32 index) [0x00000] in <00000000000000000000000000000000>:0 at XLua.CSObjectWrap.ResourceAssetLoaderWrap.m_LoadMaterialAsync_xlua_st (System.IntPtr L) [0x00000] in <00000000000000000000000000000000>:0
请问xlua引擎代码是不是不能设置剪裁级别为中级?
报错的那函数用了些反射的东西。剪裁对反射可能会有影响
感谢回复~ 就是说xlua下il2cpp剪裁等级只能Low,对吗
每个unity版本对low,medium这些都有不同的定义,没法一个个试。你试了可以就可以,不可以就不可以。