focus-creative-games / hybridclr_trial

HybridCLR 示例项目
https://code-philosophy.com/
829 stars 172 forks source link

Unload and reload Assembly-Csharp.dll #21

Closed theninh closed 1 year ago

theninh commented 1 year ago

Thanks for a great source code, I want to unload and reload Assembly-Csharp.dll in runtime, Can you help me?

pirunxi commented 1 year ago

It's not supported because CLR can't unload a specific assembly. It only supports unload whole AppDomain while il2cpp is single AppDomain which doesn't support create other AppDomain.