Sivory

Results 2 issues of Sivory

重现环境:Unity版本2020.3.37f1,Xlua版本2.1.16,编译设置:IL2CPP .NET Standard 2.0 重现步骤: 1. 创建C#类型Game.A.B.C.Main随便实现一些静态方法 2. 创建C#类型Proto.SomeClass并在其中定义一个内部类型Game 3. 在Lua代码中调用CS.Game.A.B.C.Main.XXX 4. 在PC上运行正常,编译为Android后,报错 修复方案:将StaticLuaCallbacks.ImportType方法中代码“if (type!=null)”修改为"if (type!=null && type.FullName == className) 复现项目: [XLuaBug.zip](https://github.com/Tencent/xLua/files/9235385/XLuaBug.zip)

I can't believe my computer can even do this. GENIUS!😜