缺氧吧 关注:166,563贴子:2,186,868
  • 16回复贴,共1

xdm,为什么我开什么mod都会报错啊,是dlc的原因吗?

只看楼主收藏回复





IP属地:浙江1楼2022-01-01 17:50回复
    Exception while loading mod MoveThisHere at H:/文档/Klei/OxygenNotIncluded/mods/Steam/2667816955.
    HarmonyLib.HarmonyException: Patching exception in method static System.Void GeneratedBuildings::LoadGeneratedBuildings(System.Collections.Generic.List`1<System.Type> types) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
    at (wrapper managed-to-native) System.Reflection.Assembly.get_code_base(System.Reflection.Assembly,bool)
    at System.Reflection.Assembly.GetCodeBase (System.Boolean escaped) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Reflection.Assembly.get_CodeBase () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Reflection.Assembly.GetName () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
    at MonoMod.Utils.ReflectionHelper+<>c__DisplayClass14_0.<_ResolveReflection>b__9 (System.Reflection.Assembly other) [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at System.Linq.Enumerable+WhereArrayIterator`1[TSource].ToArray () [0x00022] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
    at MonoMod.Utils.ReflectionHelper._ResolveReflection (Mono.Cecil.MemberReference mref, System.Reflection.Module[] modules) [0x00367] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at MonoMod.Utils.ReflectionHelper.ResolveReflection (Mono.Cecil.TypeReference mref) [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at MonoMod.Utils.DMDEmitDynamicMethodGenerator._Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x000f2] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at MonoMod.Utils.DMDGenerator`1[TSelf].Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x00013] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at MonoMod.Utils.DynamicMethodDefinition.Generate (System.Object context) [0x0013b] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at MonoMod.Utils.DynamicMethodDefinition.Generate () [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0059b] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    --- End of inner exception stack trace ---
    at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0
    at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <84ec5be14c67406292956d199a0bec75>:0
    at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <84ec5be14c67406292956d199a0bec75>:0
    at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
    at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0
    at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0
    at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0
    at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <84ec5be14c67406292956d199a0bec75>:0
    at KMod.Mod.Load (KMod.Content content) [0x00000] in <84ec5be14c67406292956d199a0bec75>:0
    at KMod.Manager.Load (KMod.Content content) [0x00000] in <84ec5be14c67406292956d199a0bec75>:0
    at Global.Awake () [0x00000] in <84ec5be14c67406292956d199a0bec75>:0
    at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
    at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
    at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
    at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
    at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0
    at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0
    at LaunchInitializer.Update () [0x00000] in <84ec5be14c67406292956d199a0bec75>:0
    Build: U39-490405-S


    IP属地:浙江2楼2022-01-01 17:52
    回复
      上面是报错的代码


      IP属地:浙江3楼2022-01-01 17:52
      回复
        想试试mod,结果一直报错


        IP属地:浙江来自Android客户端4楼2022-01-01 17:53
        回复
          应该是mod冲突,一个一个开


          IP属地:山西来自Android客户端5楼2022-01-01 18:21
          收起回复
            那就别开mod


            IP属地:山东来自iPhone客户端6楼2022-01-01 19:24
            收起回复
              啊着


              IP属地:北京来自Android客户端7楼2022-01-01 20:00
              收起回复
                一个个开关排吧,我饥荒在错误定位MOD出之前就是这么干的


                IP属地:广西来自Android客户端8楼2022-01-01 21:29
                收起回复
                  只认出按shift持续研究和优先吃低保质期食物的mod。


                  IP属地:福建来自Android客户端9楼2022-01-02 05:05
                  回复
                    红字mod不能用


                    IP属地:江苏来自Android客户端10楼2022-01-19 22:53
                    回复
                      如果你的客户端是一直更新过来 很久远那种 要重新删干净下载新的 文档位置的mod也要删干净 我和你一样 别人能用我就不能用 横竖测试了一天 发现是客户端太久远的缘故 哈哈哈


                      IP属地:江苏来自iPhone客户端13楼2023-01-13 03:11
                      回复