Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求告知生成wrap文件时报错怎么解决?报错内容如下 #25

Open
BlisonFCF opened this issue Apr 18, 2020 · 3 comments
Open

Comments

@BlisonFCF
Copy link

System.ArgumentNullException: Value cannot be null.
at System.RuntimeType.MakeGenericType (System.Type[] instantiation) [0x00069] in :0
at ToLuaExport+_MethodBase.GenParamTypes (System.Int32 offset) [0x00094] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaExport.cs:298
at ToLuaExport.GenOverrideFuncBody (ToLuaExport+_MethodBase md, System.Boolean beIf, System.Int32 checkTypeOffset) [0x0012e] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaExport.cs:2777
at ToLuaExport.GenOverrideFunc (System.String name) [0x00173] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaExport.cs:2897
at ToLuaExport.GenFunctions () [0x0007c] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaExport.cs:1571
at ToLuaExport.Generate (System.String dir) [0x000b7] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaExport.cs:786
at ToLuaMenu.GenerateClassWraps () [0x00112] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaMenu.cs:376
at ToLuaMenu..cctor () [0x00340] in D:\other\Desktop\LuaFramework_UGUI_V2-master\Assets\LuaFramework\ToLua\Editor\ToLuaMenu.cs:118
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes() (at E:/unity/Editor/Mono/EditorAssemblies.cs:168)

@yicong1406410220
Copy link

我也出现了这个问题

@yu13473054
Copy link

将_GT(typeof(ParticleSystem))注释掉就能正常Wrap,估计是项目在Wrap时没有兼容新版本的API的原因。

@yicong1406410220
Copy link

将_GT(typeof(ParticleSystem))注解可以正常包装,估计是项目在Wrap时没有兼容新版本的API的原因。

谢谢,我已经正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants