[Unity]执行Generate Code/打包时静态wrap代码报错'XXXX' does not contain a definition fro 'xxxxx' #806
throw-out
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
@throw-out 我在想,如果可以进入PlayMode后生成代码,是不是就没那么多问题了。在2019+好像是有这样的API的,unity-test-framework就有这么干。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
报错截图:
解决方案
配置Filter标签来告诉puerts不要生成这个Member
为什么会出现报错
因Unity版本差异和Api Compatibility Level设置不一样, Unity Editor与Runtime程序集相比在APi会有细微的差别(通常Unity Editor有额外的Member)
Beta Was this translation helpful? Give feedback.
All reactions