UnityAndroidIl2cppPatchDemo icon indicating copy to clipboard operation
UnityAndroidIl2cppPatchDemo copied to clipboard

这是Unity Android APP il2cpp热更完美解决方案的Demo。更新build_demo_apk里的Unity路径,执行即可一键重build Patch和apk。因为文件libunity是没有热更的,如unity版本有变化则热更不适用。

Results 27 UnityAndroidIl2cppPatchDemo issues
Sort by recently updated
recently updated
newest added

可以列出哪些游戏使用了此技术吗?

该方案跟hybirdCLR一样 不能解决所有问题 但肯定能解决不少场景的不少问题 疑问如题

Exec(keytoolPath, genKeyParam)返回的exitCode为1,下面代码需要手动执行 cd C:\Program Files\unity\2022.3.3f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin keytool -genkey -alias test -validity 1000 -keyalg RSA -keystore D:/gameSources3/hotfix/UnityAndroidIl2cppPatchDemo//AndroidKeystore/test.keystore -dname "CN = Test, OU = Test, O = Test, L = Test, S =...

该方案会支持团结引擎导出来的鸿蒙工程嘛

作者你好! 我们项目在使用这套热更方案的时候,遇到了被外挂利用的情况。 外挂会把修改后的so文件放到link_file目录,这样进入游戏就可以将代码注入了。 请问怎么样能够比较好的避免这种情况。 感谢!

at libil2cpp.0x18bbf78(Native Method) at libil2cpp.0x18b0468(Native Method) at libil2cpp.il2cpp_init(il2cpp_init:36) at libunity.0x5e7efc(Native Method) at libunity.0x654010(Native Method) at libunity.0x654bc8(Native Method) at libunity.0x6691f8(Native Method) at base.0x4276c(Native Method) 有人遇到过类似的问题吗

分支:2022_3_base 操作步驟:工具列AndroidBuilder-> Run Step 1-6 第五步的GenrateBuildScript時曾經碰到另一條issue所說的,gen_key.bat生成失敗的問題,同樣透過手動操作解決,但在下一步的時候build不出apk。 從log看起來,可疑的部分有這個,expection while marshalling SDK底下的package.xml(查看該路徑是沒有這個檔案) ![image](https://github.com/user-attachments/assets/32b33d91-761d-410f-8669-cb80e52eab8a) 但接著一直進行到build IL2CPP的步驟都是沒問題的,build node也都是successful ![image](https://github.com/user-attachments/assets/cbaa3b9c-543f-47d2-a07c-9d3e0ddd4979) 到了要把launcher-release.apk複製到cn.noodle1983.unitypatchdemo.apk這步時,出現了The system cannot find the path specified. ![image](https://github.com/user-attachments/assets/06578f68-d240-43d8-a585-e667c5f82e1e) 最後跳出apk not found的error: ![image](https://github.com/user-attachments/assets/8fac791c-2184-4f4d-8f98-adf21d3f2dc1) 再煩請大大協助可能的排除方法