[1.4.3507-unstable] Can't start a "new colony".

Started by PsychoMantrix, October 05, 2022, 05:37:16 PM

Previous topic - Next topic

PsychoMantrix

Hi everybody! I was very curious after seeing the 1.4 announcement that I tried the unstable branch immediatly! To my surprise I'm not able to click on "New colony", "Options" and other menus all open fine. It looks like the button does not do anything...  Have no mods active atm

edit: Just checked the logs with 'develop mode' on this is the error that pops up on clicking the button:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.ScenarioLister.ScenarioListHash () [0x0001a] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.ScenarioLister.RecacheData () [0x00006] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.ScenarioLister.RecacheIfDirty () [0x00007] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.ScenarioLister+<ScenariosInCategory>d__2.MoveNext () [0x0002b] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at RimWorld.Page_SelectScenario.EnsureValidSelection () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.Page_SelectScenario.PreOpen () [0x00016] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.MainMenuDrawer+<>c.<DoMainMenuControls>b__18_11 () [0x0000a] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.ListableOption.DrawOption (UnityEngine.Vector2 pos, System.Single width) [0x00049] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.OptionListingUtility.DrawOptionListing (UnityEngine.Rect rect, System.Collections.Generic.List`1[T] optList) [0x00037] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.MainMenuDrawer.DoMainMenuControls (UnityEngine.Rect rect, System.Boolean anyMapFiles) [0x004a8] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at RimWorld.MainMenuDrawer.MainMenuOnGUI () [0x00242] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.UIRoot_Entry.DoMainMenu () [0x0001f] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.UIRoot_Entry.UIRootOnGUI () [0x0001c] in <fe9d5c25d0714244a910780b80daa0e2>:0
  at Verse.Root.OnGUI () [0x0003d] in <fe9d5c25d0714244a910780b80daa0e2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root:OnGUI ()


Anybody know a fix or a  way to resolve? Thanks in advance!
Dying to start a family and genetically mutate humans  ;D

PsychoMantrix

Okay sorry folks I fixed it myself..

FIX: If you subscribed to any custom scenario's, disable them in 1.3 and then switch back to the 1.4 unstable branch :-)

Dre

Same thing just happened to me and your fix worked for me too so thanks for sharing it!

Higarian

When clicking the button New colony in main menu, nothing happens.

no mods, using no expansions or all expansions (royalty, ideology), the same error occurs:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Scenario.GetHashCode () [0x0006d] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.ScenarioLister.ScenarioListHash () [0x0001a] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.ScenarioLister.RecacheData () [0x00006] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.ScenarioLister.RecacheIfDirty () [0x00007] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.ScenarioLister+<ScenariosInCategory>d__2.MoveNext () [0x0002b] in <230cf681890549bdae139e3347fe5add>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at RimWorld.Page_SelectScenario.EnsureValidSelection () [0x0001c] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.Page_SelectScenario.PreOpen () [0x00016] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.MainMenuDrawer+<>c.<DoMainMenuControls>b__18_11 () [0x0000a] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.ListableOption.DrawOption (UnityEngine.Vector2 pos, System.Single width) [0x00049] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.OptionListingUtility.DrawOptionListing (UnityEngine.Rect rect, System.Collections.Generic.List`1[T] optList) [0x00037] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.MainMenuDrawer.DoMainMenuControls (UnityEngine.Rect rect, System.Boolean anyMapFiles) [0x004a8] in <230cf681890549bdae139e3347fe5add>:0
  at RimWorld.MainMenuDrawer.MainMenuOnGUI () [0x00242] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.UIRoot_Entry.DoMainMenu () [0x0001f] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.UIRoot_Entry.UIRootOnGUI () [0x0001c] in <230cf681890549bdae139e3347fe5add>:0
  at Verse.Root.OnGUI () [0x0003d] in <230cf681890549bdae139e3347fe5add>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root:OnGUI ()


Pheanox

Thanks for the update and the bug report. The devs are aware of the current issue with workshop scenarios and of course getting them to work with 1.4 is a priority.