Ubrhelm
Recruit
Summary:I made a mod for testing purposes, a single piece of a hat, then started a game, it ran fine, Then when I load the game it crashes.Any mod I make after 1.6 have this issue
How to Reproduce: Load any save file with any mod made with the modding tools.
Have you used cheats and if so which: Full inventory to test said hat piece
Scene Name (if related): Map
Media (Screenshots & Video):
Computer Specs:
OS:Win 10 Home
GPU:Gtx 1060
GPU Driver Version: 460.89
CPU: intel 3750k
RAM: 16gb
Motherboard:Gigabyte z77m-3dh
Storage Device (HDD/SSD):Hd
Dump:
Source: mscorlib
Exception has been thrown by the target of an invocation.
- Inner exception
Source: TaleWorlds.CampaignSystem
Object reference not set to an instance of an object.
- Callstacks
Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line.
Inner exception callstack:
at TaleWorlds.CampaignSystem.Encyclopedia.Pages.DefaultEncyclopediaClanPage.<>c.<.ctor>b__7_7(CultureObject f)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at TaleWorlds.CampaignSystem.Encyclopedia.Pages.DefaultEncyclopediaClanPage..ctor()Outer exception callstack:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at TaleWorlds.CampaignSystem.Encyclopedia.EncyclopediaManager.CreateEncyclopediaPages()
at SandBox.SandBoxSubModule.OnGameInitializationFinished(Game game)
at TaleWorlds.MountAndBlade.MBGameManager.OnGameInitializationFinished(Game game)
at TaleWorlds.CampaignSystem.Campaign.OnInitialize()
at TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
at StoryMode.CampaignStoryMode.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
at TaleWorlds.Core.GameType.DoLoadingForGameType()
at SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, GameManagerLoadingSteps& nextStep)
at TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager()
at TaleWorlds.MountAndBlade.GameLoadingState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at DMD?51163972::OnApplicationTick_Patch1>(Module this, Single dt)
How to Reproduce: Load any save file with any mod made with the modding tools.
Have you used cheats and if so which: Full inventory to test said hat piece
Scene Name (if related): Map
Media (Screenshots & Video):
Computer Specs:
OS:Win 10 Home
GPU:Gtx 1060
GPU Driver Version: 460.89
CPU: intel 3750k
RAM: 16gb
Motherboard:Gigabyte z77m-3dh
Storage Device (HDD/SSD):Hd
Dump:
Source: mscorlib
Exception has been thrown by the target of an invocation.
- Inner exception
Source: TaleWorlds.CampaignSystem
Object reference not set to an instance of an object.
- Callstacks
Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line.
Inner exception callstack:
at TaleWorlds.CampaignSystem.Encyclopedia.Pages.DefaultEncyclopediaClanPage.<>c.<.ctor>b__7_7(CultureObject f)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at TaleWorlds.CampaignSystem.Encyclopedia.Pages.DefaultEncyclopediaClanPage..ctor()Outer exception callstack:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at TaleWorlds.CampaignSystem.Encyclopedia.EncyclopediaManager.CreateEncyclopediaPages()
at SandBox.SandBoxSubModule.OnGameInitializationFinished(Game game)
at TaleWorlds.MountAndBlade.MBGameManager.OnGameInitializationFinished(Game game)
at TaleWorlds.CampaignSystem.Campaign.OnInitialize()
at TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
at StoryMode.CampaignStoryMode.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
at TaleWorlds.Core.GameType.DoLoadingForGameType()
at SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, GameManagerLoadingSteps& nextStep)
at TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager()
at TaleWorlds.MountAndBlade.GameLoadingState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at DMD?51163972::OnApplicationTick_Patch1>(Module this, Single dt)