RimWorld

RimWorld

Prison Labor
Silviosal 16 Jan, 2021 @ 2:51pm
Bug: Gray screen.
After playing for a while, it randomly starts to show gray screen and then disappears, it doesn't happen very often but after it happens between 4-5 it ends up permanently showing gray screen, it just goes back to normal after I reopen the game.
I have a lot of list of mods so I don't know if it is incompatibility or is the problem with the mod itself because I read the Log and just found it citing an error occurring in Prison Labor, it doesn't mention any other mod.

" at PrisonLabor.Core.GUI_Components.PawnIcons.MapComponentOnGUI () [0x0002b] in <7f01f69f1ca84410921348a1d376f797>:0"

Full log: https://gist.github.com/HugsLibRecordKeeper/346de3006b52a830e80e1993afebd608
Last edited by Silviosal; 16 Jan, 2021 @ 2:53pm
< >
Showing 1-15 of 20 comments
Hazzer  [developer] 20 Jan, 2021 @ 12:51am 
How many prisoners and colonist do you have? Also what is their race?
Silviosal 20 Jan, 2021 @ 5:48pm 
Originally posted by Hazzer:
How many prisoners and colonist do you have? Also what is their race?

I have no prisoners and I only have 7 colonist, they are all human.
However, these 4 people I got was through arresting them and recruiting.
Leggy 26 Jan, 2021 @ 1:26am 
I'm having a similar bug come up. Prison labor kept crashing my game, so I went through the removal process, and now, my whole map has gone grey. The Error I got was the same one he has.

EDIT: Nvm, now I am getting a similar, but possibly Different error? And I can't remove Prison Labor without bricking my save with the gray-screen

Error that keeps cropping up:

System.NullReferenceException: Object reference not set to an instance of an object
at PrisonLabor.Core.GUI_Components.PawnIcons.MapComponentTick () [0x00011] in <3eed67d6b81943f5bf294ab6f3302550>:0
at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00013] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.MapComponentUtility:MapComponentTick(Map)
Verse.Map:Verse.Map.MapPostTick_Patch1(Map)
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)


I am around 15 days into this file, and I had the Prisoner with me for around 5 days now without any issue.
Last edited by Leggy; 26 Jan, 2021 @ 1:39am
Hazzer  [developer] 26 Jan, 2021 @ 2:12am 
Fix for that is in quick fix. Right now only on github: https://github.com/Aviuz/PrisonLabor/releases/tag/1.2.2

Can you replace mod files and check if error still occure?
Leggy 26 Jan, 2021 @ 2:34am 
Just got this error:

PrisonLaborError: Camera.current null in MapComponentTick().
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
PrisonLabor.Core.GUI_Components.PawnIcons:MapComponentTick()
Verse.MapComponentUtility:MapComponentTick(Map)
Verse.Map:Verse.Map.MapPostTick_Patch1(Map)
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)


However played the game for 24 in game hours, and no sign of a crash yet
Hazzer  [developer] 26 Jan, 2021 @ 2:49am 
Do you have mods changing something with camera? (zoom etc)
Leggy 26 Jan, 2021 @ 3:13am 
I do in fact. Camera+
Aether 26 Jan, 2021 @ 5:23am 
I have the same issue as well, also use camera +. In addition, when I tried to remove your mod for testing, it also broke the schedule UI and I can't give my pawns orders anymore other than when they are drafted to some extend.
Aether 26 Jan, 2021 @ 5:23am 
(just a post so I can subscribe to thread)
Hazzer  [developer] 26 Jan, 2021 @ 5:52am 
Originally posted by Aetherblade:
I have the same issue as well, also use camera +. In addition, when I tried to remove your mod for testing, it also broke the schedule UI and I can't give my pawns orders anymore other than when they are drafted to some extend.
How do you removed mod? Via mod options or just turn off?
Aether 26 Jan, 2021 @ 2:03pm 
Originally posted by Hazzer:
Originally posted by Aetherblade:
I have the same issue as well, also use camera +. In addition, when I tried to remove your mod for testing, it also broke the schedule UI and I can't give my pawns orders anymore other than when they are drafted to some extend.
How do you removed mod? Via mod options or just turn off?

Yeah, I removed it without the tool in mod options at first, I hadn't seen that in your description. Hope this is fixable since I don't have a save wihtout the mod in it.
Lizarda 4 Mar, 2021 @ 8:59pm 
I understand this is likely being worked on, and it is fine if there is no answer, but has there been a fix to this yet?
Karl-geden 12 Mar, 2021 @ 12:31am 
i am playing without any cameramods and my game also has the grey screen
SY1102 20 Apr, 2021 @ 6:28pm 
Could not find class CM_Beat_Prisoners.BeatingTracker while resolving node li. Trying to use RimWorld.Planet.WorldComponent instead. Full node: <li Class="CM_Beat_Prisoners.BeatingTracker"><beatingsInProgress /><beatingCounters /></li>
Verse.Log:Verse.Log.Error_Patch1(String, Boolean)
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[])
RimWorld.Planet.World:RimWorld.Planet.World.ExposeComponents_Patch1(World)
RimWorld.Planet.WorldGenStep_Components:GenerateFromScribe(String)
RimWorld.Planet.WorldGenerator:GenerateFromScribe(String)
RimWorld.Planet.World:ExposeData()
Verse.Game:Verse.Game.LoadGame_Patch1(Game)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow(String)
Verse.<>c:<Start>b__1_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
I am also experiencing this bug. Happened on two games/maps so far, both new and only a few in game days old.
PrisonLaborError: Camera.current null in MapComponentTick(). Verse.Log:Verse.Log.Error_Patch3(String, Boolean) Verse.Log:ErrorOnce(String, Int32, Boolean) PrisonLabor.Core.GUI_Components.PawnIcons:MapComponentTick() Verse.MapComponentUtility:MapComponentTick(Map) Verse.Map:Verse.Map.MapPostTick_Patch1(Map) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager) Verse.TickManager:Verse.TickManager.TickManagerUpdate_Patch1(TickManager) Verse.Game:UpdatePlay() Verse.Root_Play:Update()
Exception ticking Helga (at (54, 0, 118)): System.NullReferenceException: Object reference not set to an instance of an object at Verse.PawnCollisionTweenerUtility.CanGoDirectlyToNextCell (Verse.Pawn pawn) [0x0008c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x000bd] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.ResetTweenedPosToRoot () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.PreDrawPosCalculation () [0x0001d] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.Pawn_DrawTracker.Verse.Pawn_DrawTracker.get_DrawPos_Patch1(Verse.Pawn_DrawTracker) at RimWorld.PawnFootprintMaker.FootprintMakerTick () [0x00045] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.Pawn_DrawTracker.DrawTrackerTick () [0x0004a] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn) at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2(Verse.TickList) Verse.Log:Verse.Log.Error_Patch3(String, Boolean) Verse.TickList:Verse.TickList.Tick_Patch2(TickList) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager) Verse.TickManager:Verse.TickManager.TickManagerUpdate_Patch1(TickManager) Verse.Game:UpdatePlay() Verse.Root_Play:Update()
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at Verse.PawnCollisionTweenerUtility.CanGoDirectlyToNextCell (Verse.Pawn pawn) [0x0008c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x000bd] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.ResetTweenedPosToRoot () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.PreDrawPosCalculation () [0x0001d] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.Pawn_DrawTracker.Verse.Pawn_DrawTracker.get_DrawPos_Patch1(Verse.Pawn_DrawTracker) at Verse.Pawn.get_DrawPos () [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.TooltipGiverList.DispenseAllThingTooltips () [0x0009c] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch3(RimWorld.MapInterface) at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play) at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root) Verse.Log:Verse.Log.Error_Patch3(String, Boolean) Verse.Root:Verse.Root.OnGUI_Patch1(Root)
Exception drawing Veronika: System.NullReferenceException: Object reference not set to an instance of an object at Verse.PawnCollisionTweenerUtility.CanGoDirectlyToNextCell (Verse.Pawn pawn) [0x0008c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x000bd] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.ResetTweenedPosToRoot () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.PreDrawPosCalculation () [0x0001d] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.Pawn_DrawTracker.Verse.Pawn_DrawTracker.get_DrawPos_Patch1(Verse.Pawn_DrawTracker) at Verse.Pawn.get_DrawPos () [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.Thing.Draw () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Draw_Patch1(Verse.ThingWithComps) at (wrapper dynamic-method) Verse.DynamicDrawManager.Verse.DynamicDrawManager.DrawDynamicThings_Patch2(Verse.DynamicDrawManager) Verse.Log:Verse.Log.Error_Patch3(String, Boolean) Verse.DynamicDrawManager:Verse.DynamicDrawManager.DrawDynamicThings_Patch2(DynamicDrawManager) Verse.Map:Verse.Map.MapUpdate_Patch3(Map) Verse.Game:UpdatePlay() Verse.Root_Play:Update()
Exception drawing ThingOverlay for Veronika: System.NullReferenceException: Object reference not set to an instance of an object at Verse.PawnCollisionTweenerUtility.CanGoDirectlyToNextCell (Verse.Pawn pawn) [0x0008c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnCollisionTweenerUtility.PawnCollisionPosOffsetFor (Verse.Pawn pawn) [0x000bd] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.TweenedPosRoot () [0x00067] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.ResetTweenedPosToRoot () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.PawnTweener.PreDrawPosCalculation () [0x0001d] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.Pawn_DrawTracker.Verse.Pawn_DrawTracker.get_DrawPos_Patch1(Verse.Pawn_DrawTracker) at Verse.Pawn.get_DrawPos () [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.GenMapUI.LabelDrawPosFor (Verse.Thing thing, System.Single worldOffsetZ) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0 at Analyzer.Fixes.H_DrawNamesFix.Prefix (Verse.PawnUIOverlay __instance) [0x0007f] in <599d37006b8e4bb9a39d08733da87cf7>:0 at (wrapper dynamic-method) Verse.PawnUIOverlay.Verse.PawnUIOverlay.DrawPawnGUIOverlay_Patch6(Verse.PawnUIOverlay) at Verse.Pawn.DrawGUIOverlay () [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0 at (wrapper dynamic-method) Verse.ThingOverlays.Verse.ThingOverlays.ThingOverlaysOnGUI_Patch1(Verse.ThingOverlays) Verse.Log:Verse.Log.Error_Patch3(String, Boolean) Verse.ThingOverlays:Verse.ThingOverlays.ThingOverlaysOnGUI_Patch1(ThingOverlays) RimWorld.MapInterface:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch3(MapInterface) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(UIRoot_Play) Verse.Root:Verse.Root.OnGUI_Patch1(Root)
Here is my mod list: pastebin com cUicT5vK
Last edited by Leoraaaaaaaaaaaaaaaaaaaaa; 31 May, 2021 @ 9:50pm
< >
Showing 1-15 of 20 comments
Per page: 1530 50