focus-creative-games / hybridclr

HybridCLR是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.
https://code-philosophy.com/
MIT License
6.63k stars 675 forks source link

Assembly.Load加载hotfix.dll时报错 #38

Closed daibao520 closed 1 year ago

daibao520 commented 1 year ago

unity editor版本:2021.3.10f1c1 操作系统:Windows 11 专业版 Build Target:Windows 64bit com.focus-creative-games.hybridclr_unity的版本号:1.1.4 git main分支更新到:支持自定义外部热更新dll的搜索路径 externalHotUpdateAssembliyDirs walon walon@focus-creative-games.com abc70a7ffc52c795dc3f8fe32c7151d05c2c49c2 2022/12/2 10:33:13 复现条件:只要把我上传的代码加进hotfix.dll里,运行到Assembly.Load加载hotfix.dll就会报错 Kcp.zip

daibao520 commented 1 year ago

image

pirunxi commented 1 year ago

该问题在hybridclr_trail项目上用最新的hybridclr_unity及最新的hybridclr+il2cpp_plus代码无法复现。我们不会再去测试旧版本的代码,所以请更到最新后再测试一次,如果复测成功,将工程发给我们。