Closed Dexusan closed 3 years ago
Unloading a plugin when it comes to the Il2CppChainloader does nothing except return false.
The assembly is still in the app domain so static APIs that don't require classes to be injected into Il2Cpp will still work.
A potential fix for this will be to make BepInEx load plugins in a separate AppDomain so full assembly unloading is possible.
Resolved by #7
D0c requested that we use rundown id 1 when playing modded content, either automatically adjust this for clients or unload if the id is not 1.