边缘世界 RimWorld

边缘世界 RimWorld

Rimefeller
[GB] Mathew 2021 年 2 月 1 日 上午 5:58
error when loading
SaveableFromNode exception: System.NullReferenceException: Object reference not set to an instance of an object
at Rimefeller.HarmonyPatches+Harmony_BackCompatibleDefName.Prefix (System.Type defType, System.String defName, System.String& __result) [0x0000d] in <06aca2482fb2462b88b462df73494cc6>:0
at (wrapper dynamic-method) Verse.BackCompatibility.Verse.BackCompatibility.BackCompatibleDefName_Patch1(System.Type,string,bool,System.Xml.XmlNode)
at Verse.ScribeExtractor.DefFromNode[T] (System.Xml.XmlNode subNode) [0x00037] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at Verse.Scribe_Defs.Look[T] (T& value, System.String label) [0x00056] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at Verse.BattleLogEntry_RangedImpact.ExposeData () [0x00038] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at Verse.ScribeExtractor.SaveableFromNode[T] (System.Xml.XmlNode subNode, System.Object[] ctorArgs) [0x001ca] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
Subnode:
<li Class="BattleLogEntry_RangedImpact"><ticksAbs>8116492</ticksAbs><logID>9581</logID><damagedParts IsNull="True" /><damagedPartsDestroyed IsNull="True" /><initiatorPawn>Thing_Human187467</initiatorPawn><recipientPawn>null</recipientPawn><recipientThing>Upgraded_Geothermal</recipientThing><originalTargetPawn>Thing_Bear_Grizzly324052</originalTargetPawn><originalTargetMobile>True</originalTargetMobile><weaponDef>Gun_MachinePistol</weaponDef><projectileDef>Bullet_MachinePistol</projectileDef></li>
Verse.Log:Error(String, Boolean)
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[])
Verse.Battle:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[])
Verse.BattleLog:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(BattleLog&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(BattleLog&, String, Object[])
Verse.Game:ExposeSmallComponents()
Verse.Game:Verse.Game.LoadGame_Patch1(Game)
Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch4(String)
Verse.<>c:<Start>b__1_1()
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()
< >
正在显示第 1 - 4 条,共 4 条留言
Dubwise  [开发者] 2021 年 2 月 1 日 上午 9:09 
thats the backward compatibility patch, you might have corrupted save data so if my patch is throwing an error the original method without my patch probably would too, since its just checking a def name and type, if either of those are missing then it will fail regardless
[GB] Mathew 2021 年 2 月 1 日 下午 3:54 
引用自 Dubwise
thats the backward compatibility patch, you might have corrupted save data so if my patch is throwing an error the original method without my patch probably would too, since its just checking a def name and type, if either of those are missing then it will fail regardless

what do you mean by this i just get error when loading any map but is fine with out the mod i think it might be a comparability issue also i am on 1.1

if u can help let me know what u need
Thank you
Dubwise  [开发者] 2021 年 2 月 1 日 下午 4:19 
sorry i can't help with 1.1, everythings moved onto 1.2 now, basically in your save file there's an entry where its referencing a def and the class or def or def name has gone null for some reason, maybe you removed a mod, this is the first time i have had a report of a bug with the BackCompatibleDefName patch
[GB] Mathew 2021 年 2 月 2 日 上午 6:52 
引用自 Dubwise
sorry i can't help with 1.1, everythings moved onto 1.2 now, basically in your save file there's an entry where its referencing a def and the class or def or def name has gone null for some reason, maybe you removed a mod, this is the first time i have had a report of a bug with the BackCompatibleDefName patch

ok i should probably to move to latest update hopefully everything will work
thank your for taking time to look at my issue :)
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50