-
Notifications
You must be signed in to change notification settings - Fork 719
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
[unity]更新master 生成各种报错 #619
Comments
我在2021使用demo的binding列表测试没有问题 |
绑定列表: 出错的结构:
} |
另外这段代码加上THREAD_SAFE有错误: |
这两个问题修复了,楼顶提到的那个
没有看见,有问题的话再open |
error log | 日志或报错信息
NullReferenceException: Object reference not set to an instance of an object
Puerts.Editor.Generator.GenClass.MethodGenInfo+<>c.b__6_2 (System.Linq.IGrouping
2[TKey,TElement] lst) (at Assets/Scripts/GCore/Puerts/Src/Editor/Generator.cs:781) System.Linq.Enumerable+SelectEnumerableIterator
2[TSource,TResult].MoveNext () (at <19f157554c514bbc99588e176244e375>:0)System.Linq.Enumerable+WhereEnumerableIterator
1[TSource].ToArray () (at <19f157554c514bbc99588e176244e375>:0) System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable
1[T] source) (at <19f157554c514bbc99588e176244e375>:0)Puerts.Editor.Generator.GenClass.MethodGenInfo.FromType (System.Type type, System.Boolean isCtor, System.Collections.Generic.List
1[T] overloads, System.Collections.Generic.List
1[T] extensionOverloads) (at Assets/Scripts/GCore/Puerts/Src/Editor/Generator.cs:748)Puerts.Editor.Generator.GenClass.TypeGenInfo.FromType (System.Type type, System.Collections.Generic.List`1[T] genTypes) (at Assets/Scripts/GCore/Puerts/Src/Editor/Generator.cs:398)
Puerts.Editor.Generator.Menu.GenerateCode (System.String saveTo, System.Boolean tsOnly, System.Boolean esmMode) (at Assets/Scripts/GCore/Puerts/Src/Editor/Generator.cs:1532)
Puerts.Editor.Generator.Menu.GenerateCode () (at Assets/Scripts/GCore/Puerts/Src/Editor/Generator.cs:1450)
context | 编译/运行环境
unityeditor 2021.2.7
how to reproduce | 复现步骤
生成wrap
more | 其他
生成出来的代码,诸如:
private static void M_<>iFixBaseProxy_play(IntPtr isolate, IntPtr info, IntPtr self, int paramLen, long data)
The text was updated successfully, but these errors were encountered: