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

InjectFix对Unity的版本要求 #51

Closed
btnova717 opened this issue Nov 8, 2019 · 1 comment
Closed

InjectFix对Unity的版本要求 #51

btnova717 opened this issue Nov 8, 2019 · 1 comment

Comments

@btnova717
Copy link

2019.2.10f1正常Inject后,unity发布时会重新生成Assembly-CSharp.dll,导致产品无法InjectFix,是否对Unity有版本要求?测试发现2019.1.X的版本正常。

@chexiongsheng
Copy link
Collaborator

可能是unity的编译流程改了
https://github.com/Tencent/InjectFix/blob/master/Source/UnityProj/Assets/IFix/Editor/ILFixEditor.cs#L170
这本来是通过PostProcessScene事件来自动注入,这函数你在你打包脚本那自己在合适的时机(生成Assembly-CSharp.dll之后)去手动调用。

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

2 participants