RimWorld

RimWorld

Research Reinvented: Stepping Stones
 This topic has been pinned, so it's probably important
PeteTimesSix  [developer] 2 Nov, 2022 @ 1:33pm
Rimworld 1.4 Bug reports
I've set up a Discord server[discord.gg], which is the preferred medium for discussion and bug reports.

Otherwise, drop any issues with the Rimworld v1.4 version of Research Reinvented: Stepping Stones here. Ideal bug report contains the following, in descending order of importance:

-likely things that make your situation unique (recently installed mods, research project in question, etc)
-reproducible description of the situation
-full error log (you can grab one by pressing Ctrl + F12)
-modlist (also contained in full log)
-savegame
Last edited by PeteTimesSix; 14 May, 2023 @ 3:52am
< >
Showing 1-15 of 19 comments
bagelhe 5 Nov, 2022 @ 12:19am 
Exception in Verse.Window.InnerWindowOnGUI: System.TypeInitializationException: The type initializer for 'PeteTimesSix.ResearchReinvented_SteppingStones.ResearchReinventedSteppingStones_PostInit' threw an exception. ---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Min[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00030] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at PeteTimesSix.ResearchReinvented_SteppingStones.Patches.MainTabWindow_Research_OffsetHacks.BuildTabOffsets () [0x0005f] in <7dcb903157be44959a2fc0384dfd3ea1>:0
at PeteTimesSix.ResearchReinvented_SteppingStones.ResearchReinventedSteppingStones_PostInit..cctor () [0x00005] in <7dcb903157be44959a2fc0384dfd3ea1>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr)
at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetFunctionPointer (System.Reflection.MethodBase method, System.RuntimeMethodHandle handle) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetNativeStart (System.Reflection.MethodBase method) [0x00035] in <255414689d344b1385ae719f6cce8c55>:0
at MonoMod.RuntimeDetour.DetourHelper.GetNativeStart (System.Reflection.MethodBase method) [0x00005] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.HarmonySharedState.FindReplacement (System.Diagnostics.StackFrame frame) [0x00042] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.GetMethodFromStackframe (System.Diagnostics.StackFrame frame) [0x0000e] in <255414689d344b1385ae719f6cce8c55>:0
at VisualExceptions.ExceptionInfo.GetAllMethods (System.Exception ex, System.Int32 level) [0x00035] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInfo.GetAllMethods (System.Exception ex, System.Int32 level) [0x00010] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInfo.GetReport () [0x0003b] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInspector.DoWindowContents (UnityEngine.Rect inRect) [0x00132] in <b0c555d3b94d41bda542afdeab3498c4>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001fd] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
bagelhe 5 Nov, 2022 @ 12:20am 
i get this message at start of rimworld
bagelhe 5 Nov, 2022 @ 12:20am 
Exception in Verse.Window.InnerWindowOnGUI: System.TypeInitializationException: The type initializer for 'PeteTimesSix.ResearchReinvented_SteppingStones.ResearchReinventedSteppingStones_PostInit' threw an exception. ---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Min[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00030] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at PeteTimesSix.ResearchReinvented_SteppingStones.Patches.MainTabWindow_Research_OffsetHacks.BuildTabOffsets () [0x0005f] in <7dcb903157be44959a2fc0384dfd3ea1>:0
at PeteTimesSix.ResearchReinvented_SteppingStones.ResearchReinventedSteppingStones_PostInit..cctor () [0x00005] in <7dcb903157be44959a2fc0384dfd3ea1>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr)
at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetFunctionPointer (System.Reflection.MethodBase method, System.RuntimeMethodHandle handle) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetNativeStart (System.Reflection.MethodBase method) [0x00035] in <255414689d344b1385ae719f6cce8c55>:0
at MonoMod.RuntimeDetour.DetourHelper.GetNativeStart (System.Reflection.MethodBase method) [0x00005] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.HarmonySharedState.FindReplacement (System.Diagnostics.StackFrame frame) [0x00042] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.GetMethodFromStackframe (System.Diagnostics.StackFrame frame) [0x0000e] in <255414689d344b1385ae719f6cce8c55>:0
at VisualExceptions.ExceptionInfo.GetAllMethods (System.Exception ex, System.Int32 level) [0x00035] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInfo.GetAllMethods (System.Exception ex, System.Int32 level) [0x00010] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInfo.GetReport () [0x0003b] in <b0c555d3b94d41bda542afdeab3498c4>:0
at VisualExceptions.ExceptionInspector.DoWindowContents (UnityEngine.Rect inRect) [0x00132] in <b0c555d3b94d41bda542afdeab3498c4>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001fd] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Don Peppo 5 Nov, 2022 @ 3:44am 
[Research Reinvented: Stepping Stones] Patch operation RR.PatchOperationAddOrReplace(Defs/ResearchProjectDef[defName="ArtificialMetabolism"]) failed
file: E:\Games n stuff\Steam\steamapps\workshop\content\294100\2868389782\v1.4\Patches\Patches_ResearchProjectDefs.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.PatchOperation:Complete (string)
RR.PatchOperationAddOrReplace:Complete (string)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ClearCachedPatches_Patch0 ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_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 ()

same error for MolecularAnalysis, CircadianInfluence, NeuralComputation, FleshShaping, SkinHardening and HealingFactors
Farsinuce 5 Nov, 2022 @ 5:01am 
Since last update, I receive errors on startup. Furthermore, many buildings are not available in the Architect menu. Did something break?

Start-up log: https://hastebin-plus.herokuapp.com/xCe0bZBHYM
Output log: https://gist.github.com/HugsLibRecordKeeper/0abec649c7f28abf74ba5d8c6c3f690d

Disabling the mod (Stepping Stones) removes the error, hence the error must be caused by the mod.
Last edited by Farsinuce; 5 Nov, 2022 @ 5:03am
depzdai 5 Nov, 2022 @ 5:12am 
Originally posted by bagelhe:
i get this message at start of rimworld
Same error here. The mod RIMMSqol (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1084452457) has a problem with this research mod.

nchorbajian said in the comment section of that qol mod: Not necessarily a bug report but was there a reason to have the empty research tabs in the mod or was that for testing purposes? Those have started to conflict with the new research reinvented stepping stones update so I was wondering.
Here was a reply by Razuhl, creator of the mod: @nchorbajian The log just says that the author forgot to check whether the collection of projects is empty. You aren't allowed to pick the minimum if not at least one entry exists. The empty research tabs are there for people to group technologies so that they don't overlap or are out of the way when they are unwanted. Just plain vanilla xml modding nothing particular to my mod.

I tested without ResearchPowl aka a research tree mod and found out the showing of the organization researches is nowhere to be found (https://i.imgur.com/zUczIos.png); maybe it got placed too far to the left. As a result when I opened a save, there is no way to click the related projects for researching and unfortunately I can never build a wall for the rest of the save. Do wish it can be fixed soon.

Hugslib: https://gist.github.com/HugsLibRecordKeeper/829aab42861d044bd11c23ef3f332700
PeteTimesSix  [developer] 5 Nov, 2022 @ 9:10am 
...dammit, I fixed that four days ago. Turns out I forgot to actually *upload* the fix.
nchorbajian 5 Nov, 2022 @ 9:31am 
Originally posted by depzdai:

nchorbajian said in the comment section of that qol mod: Not necessarily a bug report but was there a reason to have the empty research tabs in the mod or was that for testing purposes? Those have started to conflict with the new research reinvented stepping stones update so I was wondering.
Here was a reply by Razuhl, creator of the mod: @nchorbajian The log just says that the author forgot to check whether the collection of projects is empty. You aren't allowed to pick the minimum if not at least one entry exists. The empty research tabs are there for people to group technologies so that they don't overlap or are out of the way when they are unwanted. Just plain vanilla xml modding nothing particular to my mod.
I mean I posted it in the comments section on this mod page too but didn't know if it was looked since it got swarmed by new comments :X
Last edited by nchorbajian; 5 Nov, 2022 @ 9:32am
Farsinuce 5 Nov, 2022 @ 1:06pm 
Thanks for the update today, @PeteTimesSix.
Still having issues on startup, though - and several items are missing from the Architect menu (thus cannot be built in-game): https://gist.github.com/0357014de4c005857f1e29e24e9c207c
PeteTimesSix  [developer] 5 Nov, 2022 @ 1:17pm 
Originally posted by Sinuce:
Thanks for the update today, @PeteTimesSix.
Still having issues on startup, though - and several items are missing from the Architect menu (thus cannot be built in-game): https://gist.github.com/0357014de4c005857f1e29e24e9c207c
I *have* fixed the wrong DLC check on those patch operations, so the fact theyre still in your log implies youre at least one version behind. Un/Resubscribe to the mod, that usually gets steam to actually update it.
Dont see any other errors though - just as a sanity check, several buildings that normally dont require any research are locked behind very early game researches with this mod (as of 2nd of November), is it perhaps that you just didnt research those projects yet? They start unlocked on a new game, but in an existing save they unfortunately need to be researched.
Farsinuce 5 Nov, 2022 @ 1:34pm 
Thank you for your quick reply. For good measures I just un/resubscribed again... now it's fixed (sorry, thought I had the latest update downloaded already).
To answer your other question: Nope, I started a new game with Stepping Stones enabled form start, but thanks for the info.

All is good now.
Kind of you to fix this so fast. Your mod is a fine addition to Rimworld :)
lol 12 Nov, 2022 @ 7:41am 
Not 1.4 but Combat Extended one: Embrasures have no research prerequisites — should be "structures" project
Creperator 28 Nov, 2022 @ 11:37am 
It has been already noted in the comments section, but with this mod on, when right clicking on a item after clicking on a pawn, the game slows to a crawl. this does not happen in any mod except with this one.
Tactical Drongo 8 Mar, 2023 @ 12:11pm 
theres a weird interaction wit this mod and alpha bees which kinda couples advanced honey centrifugation with another technology
I'll note it there too since I don't know which of those might be the cause
unfortunately got no save file or log since the savegame since then was corrupted
TTV PaSt_OK 31 Mar, 2023 @ 1:39am 
Good afternoon. Sorry, my English is bad, so I have to translate. I have a question. I use your mod with DLC BioTech. And if you make a fabricator robot, then he tries to learn everything, forgetting about tasks and blocking the work of all tables. Is there any way to turn this off?
And yes. The problem with fabricators also occurs without this mod, but only with Research Reinvented
Exception in JobDriver tick for pawn Mech_Fabricor29910 driver=JobDriver_Analyse (toilIndex=8) driver.job=(RR_Analyse (Job_60591) A=Thing_VFEC_BlocksConcrete39952 B=Thing_HiTechResearchBench34241 C=(49, 0, 93)) System.NullReferenceException: Object reference not set to an instance of an object at PeteTimesSix.ResearchReinvented.Rimworld.JobDrivers.JobDriver_Analyse+<>c__DisplayClass10_0.<MakeNewToils>b__1 () [0x0005e] in <56bcfed2ed434969948ecf7d1902f285>:0 at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) (wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver) (wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver) Verse.AI.Pawn_JobTracker:JobTrackerTick () Verse.Pawn:Tick () Verse.TickList:Tick () (wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game) (wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Edit: I found a patch for those who play with this mod. I hope someone will need it: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2936760394
Last edited by TTV PaSt_OK; 31 Mar, 2023 @ 6:55am
< >
Showing 1-15 of 19 comments
Per page: 1530 50