[1.3.3059] UI missing, cannot un-pause the game or access menu after loading

Started by jamhax, July 14, 2021, 03:56:34 AM

Previous topic - Next topic

jamhax

1. What the circumstances were.
After updating from 1.3.3058 rev781 to 1.3.3059 rev833 loading save games results in a loaded game without UI. I can see the colonist icons but the bottom and side UI are completely gone. The game can also not be un-paused and hitting ESC does not take me to the menu. Have to alt-f4 to exit the game.
Screenshot:
https://i.imgur.com/4xyu3Uc.png

2. What happened.
Updating from 1.3.3058 rev781 to 1.3.3059 rev833

Command line arguments: -popupwindow
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

RimWorld 1.3.3059 rev833
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RimWorld.VersionControl:LogVersionNumber ()
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

Could not resolve cross-reference to Verse.RulePackDef named PlaceMakerCommon (wanter=include)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.DirectXmlCrossRefLoader:TryResolveDef<Verse.RulePackDef> (string,Verse.FailMode,object)
Verse.DirectXmlCrossRefLoader/WantedRefForList`1<Verse.RulePackDef>:TryResolve (Verse.FailMode)
Verse.DirectXmlCrossRefLoader/<>c__DisplayClass15_1:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef)
Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object)
System.Threading.QueueUserWorkItemCallback:WaitCallback_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Wall Light: v1.3.7864.23462
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
MURWallLight.WallLightStartUp:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

[ShowDrafteesWeapon] Initialized
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.Log:Message (string,bool)
ShowDrafteesWeapon.Logger:LogMessage (string)
ShowDrafteesWeapon.Main:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

QualityBuilder added property to '84' things
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
QualityBuilder.ModInitializerComponent:FixedUpdate ()

Loading game from file Koinbo Secure Coalition (Permadeath) with mods:
  - brrainz.harmony
  - Ludeon.RimWorld
  - Ludeon.RimWorld.Royalty
  - neptimus7.progressrenderer
  - Murmur.WallLight
  - targhetti.ShowDrafteesWeapon
  - hatti.qualitysurgeon
  - Telkir.TMods.MoreFloors
  - hatti.cleaningarea
  - brrainz.cameraplus
  - sarg.smartspeed
  - reiquard.questexpirationcriticalalert
  - Murmur.PawnNameVariety
  - hatti.qualitybuilder
  - Krafs.LevelUp
  - brrainz.achtung
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow (string)
Verse.Root_Play/<>c:<Start>b__1_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

Loaded file (Map) is from version 1.3.3058 rev781, we are running version 1.3.3059 rev833.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.ScribeMetaHeaderUtility:LoadGameDataHeader (Verse.ScribeMetaHeaderUtility/ScribeHeaderMode,bool)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow (string)
Verse.Root_Play/<>c:<Start>b__1_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

QualityBuilder added to orders category.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
QualityBuilder.ModInitializerComponent:injectDesignators ()
QualityBuilder.ModInitializerComponent:FixedUpdate ()

Root level exception in OnGUI(): System.MissingMethodException: bool Verse.WidgetRow.ButtonIcon(UnityEngine.Texture2D,string,System.Nullable`1<UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
  at (wrapper dynamic-method) RimWorld.PlaySettings.RimWorld.PlaySettings.DoPlaySettingsGlobalControls_Patch1(RimWorld.PlaySettings,Verse.WidgetRow,bool)
  at RimWorld.GlobalControlsUtility.DoPlaySettings (Verse.WidgetRow rowVisibility, System.Boolean worldView, System.Single& curBaseY) [0x0002b] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.GlobalControls.GlobalControlsOnGUI () [0x0005e] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x000c2] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <eb03c2d15d854698949b53c08ba7db97>:0
  at Verse.Root.OnGUI () [0x0003d] in <eb03c2d15d854698949b53c08ba7db97>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root:OnGUI ()

Reached max messages limit. Stopping logging to avoid spam.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.Log:Notify_MessageReceivedThreadedInternal (string,string,UnityEngine.LogType)
UnityEngine.Application:CallLogCallback (string,string,UnityEngine.LogType,bool)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Verse.Log:Error (string)
Verse.Root:OnGUI ()

Root level exception in OnGUI(): System.MissingMethodException: bool Verse.WidgetRow.ButtonIcon(UnityEngine.Texture2D,string,System.Nullable`1<UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
  at (wrapper dynamic-method) RimWorld.PlaySettings.RimWorld.PlaySettings.DoPlaySettingsGlobalControls_Patch1(RimWorld.PlaySettings,Verse.WidgetRow,bool)
  at RimWorld.GlobalControlsUtility.DoPlaySettings (Verse.WidgetRow rowVisibility, System.Boolean worldView, System.Single& curBaseY) [0x0002b] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.GlobalControls.GlobalControlsOnGUI () [0x0005e] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x000c2] in <eb03c2d15d854698949b53c08ba7db97>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0001f] in <eb03c2d15d854698949b53c08ba7db97>:0
  at Verse.Root.OnGUI () [0x0003d] in <eb03c2d15d854698949b53c08ba7db97>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root:OnGUI ()


3. What you expected to happen.
A normal load.

4. Steps we can follow to make the bug appear on our machine. This part is important! We need a set of steps which we can follow to get the same results you're seeing. Ideally you'll test these steps to make sure they work from scratch.
Load the save (I have a handful of mods though)

5. Savegame file
https://drive.google.com/file/d/1KK9ZQZeNREWB6TUWS8sMhyi_-Pd8StQf/view?usp=sharing

bsieman


jamhax

Quote from: bsieman on July 14, 2021, 05:15:30 AM
have you tried loading the save without mods?
Hey, yes it seems mod related. Disabling all Harmony related Mods fixes it. It just seemed weird that it broke over night.
Should I delete the thread since it is mod related?

Canute

No,
since 1.3 is for testing mod compactiblity too, other testers can be warned.

jamhax

The Mod Cleaning Area was the problem. Workshop comments suggest that I am not the only one.
Let me know if I should delete the thread.

aper

had same problem, this thread helped my identify the culprit mod, can confirm it's Cleaning Area. hope thread stays up for now