Skip to content

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

@BlisonFCF

Description

@BlisonFCF

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions