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

自动分析热更dll生成CLR绑定的时候,出现函数无法被绑定的情况。 #718

Open
CookTask1997 opened this issue Jul 19, 2022 · 0 comments

Comments

@CookTask1997
Copy link

Describe the bug
A clear and concise description of what the bug is.
自动分析热更dll生成CLR绑定的时候,出现函数无法被绑定的情况。

To Reproduce
Steps to reproduce the behavior:
请描述重现步骤或上下文

  1. 代码里绑定按钮事件,例如: _uiLogin.BtnQuit.onClick.AddListener(Application.Quit);
  2. 点击自动分析 Dll 生成 CLR 绑定
  3. 自动生成的 CLRBindings 代码里面未出现 UnityEngine_Application_Binding.Register(app);

Expected behavior
A clear and concise description of what you expected to happen.
应出现如下代码 : UnityEngine_Application_Binding.Register(app);

Unity Version
Please fill in the version of Unity you're currently using
2020.3.18f1c1 和 2020.3.33f1c1

ILRuntime Version
Please fill in the version of ILRuntime you're currently using(package version or git commit hash or repository download date)
package : "version": "2.0.2",

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

1 participant