RimWorld

RimWorld

EdB Prepare Carefully (Unofficial 1.3 Patch)
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
lapplace  [kehittäjä] 23.7.2021 klo 12.55
Error Logs
Post your error logs here, and a description of what's happening. If you see someone with the same description and log, please don't post again.
< >
Näytetään 1-15 / 15 kommentista
. 24.7.2021 klo 3.31 
Unable to post actual files, so I'll just re-post my previous issue, which still hasn't been addressed/patched out.

The message at the bottom of this post keeps flooding the logs, capping out at 999, which then stops the logging. When I exit out of the logs, the Prepare Carefully menu is just blank:
"Characters
Colony
and then nothing"
Same applies to the Relationships tab, but the Equipment tab works exactly like it should.




"Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <82593d6e5c3440be84ce14ac4c80b439>:0
at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <82593d6e5c3440be84ce14ac4c80b439>:0
at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <82593d6e5c3440be84ce14ac4c80b439>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <82593d6e5c3440be84ce14ac4c80b439>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)"

Viimeisin muokkaaja on .; 24.7.2021 klo 3.32
Same result as the post above, but this error seems a bit different. No other mods installed, just "EdB Prepare Carefully (Unofficial 1.3 Patch)".

"Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)"
Viimeisin muokkaaja on eLeKaeMe; 25.7.2021 klo 2.27
after clicking new game and choosin map etc when im going to use it the game shows this, even 1.2 version of original mod doesent show this and works quite farder

Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <9bdc0a9d1f6744a18eed5eecd85205c5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
The only thing that appears after map selection is the vanilla pawn selection and the button for prepare carefully and when clicking it i cant get to the menu this is the error log
thanks for all you do man!

[Prepare Carefully] Cannot find matching layer for apparel. Last layer: OnSkin_A
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Exception filling window for RimWorld.Page_ConfigureStartingPawns: EdB.PrepareCarefully.InitializationException: Prepare Carefully failed to initialize ---> System.MissingMethodException: void Verse.DamageInfo..ctor(Verse.DamageDef,single,single,single,Verse.Thing,Verse.BodyPartRecord,Verse.ThingDef,Verse.DamageInfo/SourceCategory,Verse.Thing)
at (wrapper dynamic-method) RimWorld.Pawn_ApparelTracker.RimWorld.Pawn_ApparelTracker.Notify_PawnKilled_Patch1(RimWorld.Pawn_ApparelTracker,System.Nullable`1<Verse.DamageInfo>)
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Kill_Patch15(Verse.Pawn,System.Nullable`1<Verse.DamageInfo>,Verse.Hediff)
at EdB.PrepareCarefully.RelationshipManager.CreateNewTemporaryPawn (Verse.Gender gender) [0x00075] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.RelationshipManager..ctor (System.Collections.Generic.List`1[T] originalPawns, System.Collections.Generic.List`1[T] correspondingCustomPawns) [0x00097] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PrepareCarefully.InitializeRelationshipManager (System.Collections.Generic.List`1[T] pawns) [0x00057] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PrepareCarefully.Initialize () [0x00022] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x000a2] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
--- End of inner exception stack trace ---
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x00128] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect)
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <f81f052e138344458cc870569c2ab66f>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
lapplace  [kehittäjä] 27.7.2021 klo 0.37 
@PVTRIAE Wow first time I've seen that error
ditty lähetti viestin:
@PVTRIAE Wow first time I've seen that error
Yeah i cant make heads or tails of it i tried going back to my mod list that was stable when i started a new game made sure it was the exact load order but i think that was prior to the patch that implemented favorite color and i believe beards might have been randomized. i might just try a clean sweep and fresh start on mods after this recent playthrough. props to you though dude this is alot of work to not be payed for. if you have a kofi or some sort of tip/payment receiving gig link it so i can throw you something for your time. whether a solution is found or not. you took the time to try and provide it to the community.
Mod kept throwing this error

Exception filling window for RimWorld.Page_ConfigureStartingPawns: EdB.PrepareCarefully.InitializationException: Prepare Carefully failed to initialize --->
System.MissingMethodException: bool Verse.AI.MentalStateHandler.TryStartMentalState(Verse.MentalStateDef,string,bool,bool,Verse.Pawn,bool)

at (wrapper dynamic-method)
Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.SetDead_Patch1(Verse.Pawn_HealthTracker)

at Verse.Pawn.Kill (System.Nullable`1[T] dinfo, Verse.Hediff exactCulprit) [0x0042a] in <c9dba226d8de460c86a9518faa82e725>:0

at EdB.PrepareCarefully.RelationshipManager.CreateNewTemporaryPawn (Verse.Gender gender) [0x00075] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

at EdB.PrepareCarefully.RelationshipManager..ctor (System.Collections.Generic.List`1[T] originalPawns, System.Collections.Generic.List`1[T] correspondingCustomPawns) [0x00097] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

at EdB.PrepareCarefully.PrepareCarefully.InitializeRelationshipManager (System.Collections.Generic.List`1[T] pawns) [0x00057] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

at EdB.PrepareCarefully.PrepareCarefully.Initialize () [0x00022] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x000a2] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

--- End of inner exception stack trace ---

at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x00128] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0

at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect)

at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <c9dba226d8de460c86a9518faa82e725>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

and i found out (through painstakingly removing mod after mod) that this was caused by the current version of "Giddy-Up! Core"

I don't really know why Giddy-Up! would alter the mentioned "Pawn_HealthTracker"... Harmony Patch Issue?

In any case - Removing Giddy-Up! Seems to resolve my issue
Viimeisin muokkaaja on Akronyhm; 29.7.2021 klo 6.34
xika 30.7.2021 klo 17.11 
Even if I use just this mod and the DLCs, nothing else, it doesn't work for me. Are there any unknown dependencies?



After clicking "Prepare Carefully" the first tab "Characters" is unusable. It contains one empty box for a non-existing character with an X to delete. The second tab "Relationship" is ofc nonfunctional as well, without characters, but the third tab "Equipment" seems to work fine.

(Screenshot: https://imgur.com/a/YV63NJz )

The error log has 166 copies of this entry here:

Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool) at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0 at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0 at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0 at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <9bdc0a9d1f6744a18eed5eecd85205c5>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Viimeisin muokkaaja on xika; 30.7.2021 klo 17.13
lapplace  [kehittäjä] 30.7.2021 klo 20.38 
You have harmony right? Are you loading Hugslib too?
This happens when I am trying to generate a desert planet with no dwellers. I turned off all the factions (except insects and mechanoid), and then set the global rainfall to lowest. Then Prepare Carefully has failed to initiate.

I thought that this might be an error caused by the lack of other factions, but it turns out that the mod sometimes still initiate properly even if I changed no world generation settings at all.

Exception filling window for RimWorld.Page_ConfigureStartingPawns: EdB.PrepareCarefully.InitializationException: Prepare Carefully failed to initialize ---> System.NullReferenceException: Object reference not set to an instance of an object
at EdB.PrepareCarefully.CustomPawn.InitializeWithPawn (Verse.Pawn pawn) [0x00048] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.CustomPawn..ctor (Verse.Pawn pawn) [0x000f3] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.RelationshipManager.CreateParentChildPawnsForStartingPawns (System.Collections.Generic.List`1[T] pawns, System.Collections.Generic.List`1[T] correspondingCustomPawns) [0x000b6] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.RelationshipManager.InitializeRelationshipsForStartingPawns (System.Collections.Generic.List`1[T] pawns, System.Collections.Generic.List`1[T] correspondingCustomPawns) [0x00001] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.RelationshipManager..ctor (System.Collections.Generic.List`1[T] originalPawns, System.Collections.Generic.List`1[T] correspondingCustomPawns) [0x0008e] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PrepareCarefully.InitializeRelationshipManager (System.Collections.Generic.List`1[T] pawns) [0x00057] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PrepareCarefully.Initialize () [0x00022] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x000a2] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
--- End of inner exception stack trace ---
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x00128] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect)
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <f429400e900f434099af71800afbc07e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
xika 31.7.2021 klo 1.44 
@ditty yes, I've tried with and without harmony and hugslib, doesn't seem to make a difference.
Hi,

The only Tab that seams to be working is Equipment.
The rest of them is blank, not loading any pawns.


Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <9bdc0a9d1f6744a18eed5eecd85205c5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
I Just Kicked Out all mods

Left only Harmony, and This mod:


Exception filling window for EdB.PrepareCarefully.Page_PrepareCarefully: System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,System.Nullable`1<UnityEngine.Color>,bool)
at EdB.PrepareCarefully.PanelPawnList.DrawPanelContent (EdB.PrepareCarefully.State state) [0x0045c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.PanelBase.Draw (EdB.PrepareCarefully.State state) [0x0001c] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.TabViewPawns.Draw (EdB.PrepareCarefully.State state, UnityEngine.Rect rect) [0x00020] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.DoWindowContents (UnityEngine.Rect inRect) [0x000a4] in <c3e4ef8602284d9daae6bd89cf7e28e7>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <9bdc0a9d1f6744a18eed5eecd85205c5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Why not move to new Harmony, to get rid of tons of duplicates?
https://github.com/pardeike/HarmonyRimWorld
Exception filling window for RimWorld.Page_ConfigureStartingPawns: EdB.PrepareCarefully.InitializationException: Prepare Carefully failed to initialize ---> System.MissingFieldException: Field 'RimWorld.ApparelLayerDefOf.EyeCover' not found.
at EdB.PrepareCarefully.PrepareCarefully.InitializeProviders () [0x000ba] in <364b5b206e764d37bb5e5537bcb72697>:0
at EdB.PrepareCarefully.PrepareCarefully.Initialize () [0x0000b] in <364b5b206e764d37bb5e5537bcb72697>:0
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x0008b] in <364b5b206e764d37bb5e5537bcb72697>:0
--- End of inner exception stack trace ---
at EdB.PrepareCarefully.HarmonyPatches.PrepareCarefullyButtonPatch.Postfix (RimWorld.Page_ConfigureStartingPawns __instance, UnityEngine.Rect& rect) [0x000fa] in <364b5b206e764d37bb5e5537bcb72697>:0
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1(RimWorld.Page_ConfigureStartingPawns,UnityEngine.Rect)
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Näytetään 1-15 / 15 kommentista
Sivua kohden: 1530 50