边缘世界 RimWorld

边缘世界 RimWorld

Xenobionic Patcher
此主题已被锁定
RutraNickers 2021 年 2 月 12 日 下午 1:36
Error in launch, can't patch anything
So today I'm getting a new error...

Races I'm playing:
-Kurin HAR Edition; Bun Race; Drow; Garam, the Single Tailed Furry; Astoriel; Moyo.

The error I'm getting:

[HugsLib][ERR] XenobionicPatcher caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object
at XenobionicPatcher.DefInjectors+<>c__DisplayClass1_1.<InjectSurgeryRecipes>b__8 (Verse.RecipeDef s) [0x00000] in <b538e4473fd143b78013f4716f95b49c>:0
at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].MoveNext () [0x00048] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.GenCollection.AddRange[T] (System.Collections.Generic.HashSet`1[T] hashSet, System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00018] in <c36f9493c9844ddaa7fb5c788416098f>:0
at XenobionicPatcher.DefInjectors.InjectSurgeryRecipes (System.Collections.Generic.List`1[T] surgeryList, System.Collections.Generic.List`1[T] pawnList) [0x00277] in <b538e4473fd143b78013f4716f95b49c>:0
at (wrapper dynamic-method) XenobionicPatcher.Base.XenobionicPatcher.Base.DefsLoaded_Patch2(XenobionicPatcher.Base)
at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <e4b32d84f714481f906e5eea5e560e3b>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:HugsLib.HugsLibController.LoadReloadInitialize_Patch2(HugsLibController)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
最后由 RutraNickers 编辑于; 2021 年 2 月 12 日 下午 1:45
< >
正在显示第 1 - 9 条,共 9 条留言
The Raven 2021 年 3 月 3 日 上午 10:37 
did you find a solution? I'm getting a similar error only race overlap being Moyo.

[HugsLib][ERR] XenobionicPatcher caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object
at XenobionicPatcher.DefInjectors.CleanupSurgeryRecipes (System.Collections.Generic.List`1[T] surgeryList, System.Collections.Generic.List`1[T] pawnList) [0x002c1] in <b538e4473fd143b78013f4716f95b49c>:0
at (wrapper dynamic-method) XenobionicPatcher.Base.XenobionicPatcher.Base.DefsLoaded_Patch2(XenobionicPatcher.Base)
at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <e4b32d84f714481f906e5eea5e560e3b>:0
Verse.Log:Verse.Log.Error_Patch1(String, Boolean)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:HugsLib.HugsLibController.LoadReloadInitialize_Patch2(HugsLibController)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
RutraNickers 2021 年 3 月 4 日 上午 11:06 
@BluePittGames

after some tests I think I discovered the source: It is now incompatible with Garam Framework and this breaks the xeno patcher to oblivion. When I removed it my game loaded with no problems
最后由 RutraNickers 编辑于; 2021 年 3 月 4 日 上午 11:06
SineSwiper  [开发者] 2021 年 4 月 18 日 上午 7:46 
Garam Framework tends to break a lot of stuff. Not sure why the author didn't choose to just use HAR2.0 like everybody else. (Yep, that pretty much sums it up.)

I can try to debug it, though.
最后由 SineSwiper 编辑于; 2021 年 4 月 18 日 上午 7:55
RutraNickers 2021 年 4 月 18 日 上午 8:19 
引用自 SineSwiper
Not sure why the author didn't choose to just use HAR2.0 like everybody else.

probably because they wanted facial animations, that's the only diference I see.

If you could debug it would be nice, but if it's a problem in their code it's alright. I'll copy-paste this in their mod to see if they can do something about it.
SineSwiper  [开发者] 2021 年 5 月 30 日 上午 9:31 
I might have a fix for the first NRE above. I'll push it out in a bit.

I'm currently using Moyo, so that might have already been fixed a while ago.
Starfield 2021 年 6 月 10 日 上午 5:12 
引用自 SineSwiper
I might have a fix for the first NRE above. I'll push it out in a bit.

I'm currently using Moyo, so that might have already been fixed a while ago.
Moyo got updated so now it uses its own Race Framework, so now theres 3 race frameworks.
Edit: Technically 4 because theres another Garam like framework by the author.
最后由 Starfield 编辑于; 2021 年 6 月 10 日 上午 5:13
RutraNickers 2021 年 6 月 10 日 上午 9:04 
引用自 Miffy Starfield
Moyo got updated so now it uses its own Race Framework, so now theres 3 race frameworks.
Edit: Technically 4 because theres another Garam like framework by the author.

nah, MoyoHAR is more like a pluging. If it were it's own race framework it wouldn't need HAR too to play with then.
SineSwiper  [开发者] 2021 年 6 月 19 日 上午 7:41 
SineSwiper  [开发者] 2021 年 6 月 19 日 下午 4:51 
New update v1.2.0 will likely fix these issues.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50