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

自动化打包流程安卓生成patch文件失败 #411

Open
Scorpio1994 opened this issue Nov 30, 2023 · 0 comments
Open

自动化打包流程安卓生成patch文件失败 #411

Scorpio1994 opened this issue Nov 30, 2023 · 0 comments

Comments

@Scorpio1994
Copy link

项目使用zeus打包流程,在before Build阶段生成对应平台的patch文件,在OnPostBuildPlayerScriptDLLs回调的时候执行注入,实践发现对于Assembly_CSharp程序集,Android和IOS手机包都能正常生成patch文件,但对于Packages下的asmdef对应的程序集,在打Android包的时候生成patch文件失败,通过log显示发现是在收集patch方法的时候,收集到的方法数量为0,所以没有生成patch文件。后续在打包机打包之后工程的ScriptAssemblies里反编译对应的dll发现,本应该打上了IFix.Patch标签的方法回到了初始没有标签的状态。求问这个情况是因为什么?应该怎么解决?

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