simplyWiri / Loadout-Compositing

GNU Lesser General Public License v3.0
12 stars 8 forks source link

Still getting errors. #66

Closed Evonos closed 1 year ago

Evonos commented 1 year ago

Exception in Verse.AI.ThinkNode_Priority.TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object at Inventory.Loadout+<>c.b27_0 (Inventory.Tag t) [0x00000] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at System.Linq.Enumerable+SelectManySingleSelectorIterator2[TSource,TResult].MoveNext () [0x00051] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Inventory.ThinkNode_LoadoutRealisation+<>cDisplayClass15_0.b__0 (RimWorld.Apparel app) [0x00018] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].ToList () [0x0001b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Inventory.ThinkNode_LoadoutRealisation.SatisfyLoadoutClothingJob (Verse.Pawn pawn, Inventory.Loadout loadout) [0x00042] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at Inventory.ThinkNode_LoadoutRealisation.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000db] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at Verse.AI.ThinkNode_SubtreesByTag.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000a2] in <1782cb69665b4d3abcdadb97df9ae541>:0 at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00025] in <1782cb69665b4d3abcdadb97df9ae541>:0

log https://gist.github.com/92174326dbfc4f3b0785fa2fb3dbe282

Because it mentions also VFE pirates here https://i.imgur.com/pO3lHAQ.png

it might be that your mod gets confused with the Warcaskets ? or pawns equipped with warcaskets ?

Evonos commented 1 year ago

Another error Exception in Verse.AI.ThinkNode_Priority.TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object at Inventory.Loadout+<>c.b27_0 (Inventory.Tag t) [0x00000] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at System.Linq.Enumerable+SelectManySingleSelectorIterator2[TSource,TResult].MoveNext () [0x00051] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Inventory.ThinkNode_LoadoutRealisation+<>cDisplayClass15_0.b__0 (RimWorld.Apparel app) [0x00018] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].ToList () [0x0001b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Inventory.ThinkNode_LoadoutRealisation.SatisfyLoadoutClothingJob (Verse.Pawn pawn, Inventory.Loadout loadout) [0x00042] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at Inventory.ThinkNode_LoadoutRealisation.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000db] in <0bfa006d372c4ef89843ba7d4d4f8227>:0 at Verse.AI.ThinkNode_SubtreesByTag.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000a2] in <1782cb69665b4d3abcdadb97df9ae541>:0 at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00025] in <1782cb69665b4d3abcdadb97df9ae541>:0

Evonos commented 1 year ago

This can get closed , i drafted all pawns , stripped them manually of all items , made new loadouts and deleted the old ones , then i let them fullfill the loadout and the errors are gone ( for now)

simplyWiri commented 1 year ago

I think your actual issue may be

Attempting to load values from save file and inside xmlnode System.Xml.XmlElement
Not loading a save game (exception caught)
Attempting to load values from save file and inside xmlnode System.Xml.XmlElement
Not loading a save game (exception caught)

The prior issue I assumed was related to mods being removed (but otherwise the game loading correctly). These errors look like the game is flat not loading correctly.

If the internal state of the mod is not loaded correctly, any number of things could go wrong, and this would happen each time you load, and there isn't much I can do on my side.