【Customize Weapon(武器自定义框架)】大家有遇到这种报错吗,只在加载存档时出现,一次出现多条,每条都是不同武器
Could not do PostLoadInit on Gun_ChargeRifle105054: System.NullReferenceException: Object reference not set to an instance of an object. [Ref 03CB5E9D]
at CWF.CompAbilityProvider.PruneStoredStates() in CWF.dll:token 0x600009e+0x4d
at CWF.CompAbilityProvider.SetOrUpdateAbilities(List`1 newPropsList, Boolean isPostLoad) in CWF.dll:token 0x6000090+0x7
at CWF.CompDynamicTraits.SetupAbility(Boolean isPostLoad) in CWF.dll:token 0x6000104+0x64
at CWF.CompDynamicTraits.PostExposeData() in CWF.dll:token 0x60000fd+0x115
at Verse.ThingWithComps.ExposeData() in Assembly-CSharp.dll:token 0x6002b81+0x20
at Verse.PostLoadIniter.DoAllPostLoadInits() in Assembly-CSharp.dll:token 0x60026e5+0x32
at Verse.PostLoadIniter.DoAllPostLoadInits() [0x32] at Verse.ScribeLoader.FinalizeLoading() [0x6D]
at .Verse.Game.LoadGame_Patch4(Game this) [0xFFFFFFFF]
at Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow(String fileName) [0xA1]
at Verse.Root_Play+<>c.<Start>b__1_1() [0x0]
at Verse.LongEventHandler.RunEventFromAnotherThread(Action action) [0x8]
at Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0() [0x0]
at System.Threading.Thread+StartHelper.Callback(Object state) [0x0]
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) [0x40]
Could not do PostLoadInit on Gun_ChargeRifle105054: System.NullReferenceException: Object reference not set to an instance of an object. [Ref 03CB5E9D]
at CWF.CompAbilityProvider.PruneStoredStates() in CWF.dll:token 0x600009e+0x4d
at CWF.CompAbilityProvider.SetOrUpdateAbilities(List`1 newPropsList, Boolean isPostLoad) in CWF.dll:token 0x6000090+0x7
at CWF.CompDynamicTraits.SetupAbility(Boolean isPostLoad) in CWF.dll:token 0x6000104+0x64
at CWF.CompDynamicTraits.PostExposeData() in CWF.dll:token 0x60000fd+0x115
at Verse.ThingWithComps.ExposeData() in Assembly-CSharp.dll:token 0x6002b81+0x20
at Verse.PostLoadIniter.DoAllPostLoadInits() in Assembly-CSharp.dll:token 0x60026e5+0x32
at Verse.PostLoadIniter.DoAllPostLoadInits() [0x32] at Verse.ScribeLoader.FinalizeLoading() [0x6D]
at .Verse.Game.LoadGame_Patch4(Game this) [0xFFFFFFFF]
at Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow(String fileName) [0xA1]
at Verse.Root_Play+<>c.<Start>b__1_1() [0x0]
at Verse.LongEventHandler.RunEventFromAnotherThread(Action action) [0x8]
at Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0() [0x0]
at System.Threading.Thread+StartHelper.Callback(Object state) [0x0]
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) [0x40]









