小游戏不允许unity使用ILRuntime进行热更吗?
[图片] Unity中代码: WWW www = new WWW("https://....../hotfix/HotFix_Common.dll"); while (!www.isDone) yield return null; if (!string.IsNullOrEmpty(www.error)) UnityEngine.Debug.LogError(www.error); byte[] dll = www.bytes; www.Dispose(); fs = new MemoryStream(dll); // p = new MemoryStream(pdb); try { appdomain.LoadAssembly(fs, p, new ILRuntime.Mono.Cecil.Pdb.PdbReaderProvider()); } catch (System.Exception e) { Debug.LogError("LoadAssembly exception: " + e.Message); }