Closed AnnaShiraishi closed 4 months ago
I have also gotten this bug while playing. I thought it was one of my other mods doing this. For the work around for the time being, I have been locking my player that needs to research the anomaly and they automatically do it right then and there till this is fixed. One little bug wont stop me from playing with the mod(s).
oof a DLC only bug :(
can someone with the dlc try with that build and share the logs with me? ProjectRimFactory.zip
I have the same bug. Here is the log with the build you post : https://gist.github.com/HugsLibRecordKeeper/da253a80c9c1a234be38539a21c525c7
Reproduction:
okey results are inconclusive. I Prepared an updated dll, would be glad if someone could test and share the logs ProjectRimFactory.zip
Here you go... https://gist.github.com/HugsLibRecordKeeper/7e635adc82a72a8863781e47a73e1b30
With a bit of information: the spam
Patch_CanReserve_SAL Begin
Patch_CanReserve_SAL End
come at all time. (the entity held being healed/studied by a pawn or not).
And only when i right click on a holding plateform with a pawn selected arrive the message like from the line 1601 to 1661.
thx for the log https://gist.github.com/HugsLibRecordKeeper/7e635adc82a72a8863781e47a73e1b30#file-output_log-txt-L1643-L1660
i'm aware its spammy but there is no other way for me to efficiently get the details i seek
I understand for the spammy thing.
but the strange thing is it's not only the error who arrive when i right-click but all the block from the line 1601. You can't see it from the log because there is no timestamps but in the debug window ingame (there is timestamps) i saw it all happend in the same second.
maybe a fix. needs testing ProjectRimFactory.zip
The fix is working. 👍 right-click on the entity held show the correct menu.
edit: without errors.
I would appreciate if someone could test this patch as well.
That should be a better version of the previous one while also fixing a similar issue with Alert_NoBabyFeeders
ProjectRimFactory.zip
Confirmed by laughing_dragon
Describe the bug
Colonist right clicks captured entity causes NullReferenceException.
To Reproduce Reproducibility: true Steps to reproduce the behavior:
Expected behavior Right click menu should open.
Actual Behavior Error trying to make float menu for Brooks: System.NullReferenceException: Object reference not set to an instance of an object [Ref 78E46AED] at Verse.GenGrid.Walkable (Verse.IntVec3 c, Verse.Map map) [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at Verse.GenGrid.Standable (Verse.IntVec3 c, Verse.Map map) [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at Verse.ThingUtility.InteractionCellWhenAt (Verse.ThingDef def, Verse.IntVec3 center, Verse.Rot4 rot, Verse.Map map) [0x0004e] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at Verse.Thing.get_InteractionCell () [0x00018] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at Verse.Pawn.get_InteractionCell () [0x0002b] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at ProjectRimFactory.Common.HarmonyPatches.Patch_CanReserve_SAL.Postfix (Verse.Pawn p, Verse.LocalTargetInfo target, System.Boolean ignoreOtherReservations, System.Boolean& __result) [0x0003d] in:0
at Verse.AI.ReservationUtility.CanReserve (Verse.Pawn p, Verse.LocalTargetInfo target, System.Int32 maxPawns, System.Int32 stackCount, Verse.ReservationLayerDef layer, System.Boolean ignoreOtherReservations) [0x00047] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
1[T] opts, System.Boolean drafted) [0x00165] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List
1[T] opts) [0x00024] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000f1] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000da] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) RimWorld.FloatMenuMakerMap:TryMakeFloatMenu (Verse.Pawn) RimWorld.Selector:HandleMapClicks () RimWorld.Selector:SelectorOnGUI () RimWorld.MapInterface:HandleLowPriorityInput () RimWorld.UIRoot_Play:UIRootOnGUI () Verse.Root:OnGUI ()Error trying to make float menu for Brooks: System.NullReferenceException: Object reference not set to an instance of an object [Ref 78E46AED] Duplicate stacktrace, see ref for original UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) RimWorld.FloatMenuMakerMap:TryMakeFloatMenu (Verse.Pawn) RimWorld.Selector:HandleMapClicks () RimWorld.Selector:SelectorOnGUI () RimWorld.MapInterface:HandleLowPriorityInput () RimWorld.UIRoot_Play:UIRootOnGUI () Verse.Root:OnGUI ()
Screenshots If applicable, add screenshots to help explain your problem.
Rimworld (please complete the following information):
Modlist (please complete the following information):
Additional context