RimWorld

RimWorld

Ruby Aug 13, 2019 @ 6:18am
Lag spikes every Few seconds (tons of mods +/- 300-400+)
So basically I am getting lag spikes evey few seconds I am gonna post the error list i get on start up of the game and start up of a world (also preparey carefully dosent work aka heavy lags when using it in pawn selection screen and then game after like 2-5 seconds stops responding) and i am also gonna post mod list


Edit 1: Pastebin of mods : https://pastebin.com/euJ32JEa
Edit 2:Specs
Informace o počítači:
Main ones
OS:Windows 10
Gpu : NVIDIA GeForce GTX 1060 6GB
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (speed : 2808 MHz) - GenuineIntel
Model: B360M AORUS Gaming 3 --Gigabyte Technology Co., Ltd.
also I am not using a notebook and i have only 1 screen
(btw i can run any vr games without problems and i am using normal map size)

when playing cpu is around max 50%
gpu max like 30-40% and ram is around 70-80 max (20% are other programs if i close them then rimworld usese 50% of ram)

more Detailed info but in czech : https://pastebin.com/jYEP08pQ


Edit 2.5 Output log in my appdata https://pastebin.com/DFZMjspt (Drivers are now updated will try to see if its fixed)

Edit 3: Error Log when starting the game : https://pastebin.com/5c5DGpCJ (Its veryyyyy Veryyy Long)

Edit 3.5 : when I created the smallest world and smallest map possible the lag spikes were still there killing all animals (like 4 of them xd) still nothing drafting my colonists didnt help as well


Edit 4.0 https://pastebin.com/W3gpFRWL = Error log after i launch a world (Ignore the bases that didnt spawn I set 2% world size)

Edit 5.0 Reinstalling Core didnt help also in 2 days i will be gone for 14 days probs without internet so sorry if i wont answer and thanks for trying to help me everyone !







Last edited by Ruby; Aug 15, 2019 @ 5:58am
Originally posted by FatChicsOnly:
I wanted to follow up on this discussion with my solution as I was having the same problem.

I removed as many non-essential mods as I possibly could without breaking my saves. I went from 220 mods to 112 which helped reduce framerate drops and better managed my ticks per second.

Next I used Dub's Performance Analyzer mod to diagnose the specific problem which was causing 4-5 second lag spikes. Sure enough it was my Repair Workbench mod which must have been checking every single item on the map for repairs. Without needing to disable the mod, I simply introduced new constraints such as checking items only <50% HP and excellent-legendary items. Lag spikes dissapeared.

If anyone else is having this problem the three main things I would look for would be the following: Colonist behavior mods (Common sense, Haul to Stack, While You're Up, Prioritized Treatment etc.)
Overhauls (Rimefeller, Vanilla Factions Expanded, Cybernetic Organisms, Rah's Bionics)
Item Mods which check the entire map (Colony Manager, Repair Workbench, Autosell).

It's best to stick with only one mod which overhauls Bionics. It can be tempting to see the possibility in 300% efficient super soldiers, however your playing experience matters more than some neat tweaks. Hope this helps.
< >
Showing 1-15 of 40 comments
Morkonan Aug 13, 2019 @ 6:23am 
Three to four-hundred mods?

Uh... no.

I don't mean "no" because you're running too many mods, just "No" because how in the world can anyone hope to truly diagnose the problem when you're running so many mods?

/sigh

First thing - Where's your log? Go check your log and cut/paste sections of relevant error messages.

And... post your mod list in some .txt file host somewhere like pastebin or something so it doesn't break Steam. :)

Edit:Add - Seems my reply post was too late... :)
Last edited by Morkonan; Aug 13, 2019 @ 6:24am
Ruby Aug 13, 2019 @ 6:37am 
Originally posted by Morkonan:
Three to four-hundred mods?

Uh... no.

I don't mean "no" because you're running too many mods, just "No" because how in the world can anyone hope to truly diagnose the problem when you're running so many mods?

/sigh

First thing - Where's your log? Go check your log and cut/paste sections of relevant error messages.

And... post your mod list in some .txt file host somewhere like pastebin or something so it doesn't break Steam. :)

Edit:Add - Seems my reply post was too late... :)
Oki oki sorry and gimme a minute i am waiting for rimworld to start and i will send the mod list in a txt file in few secs
brian_va Aug 13, 2019 @ 6:39am 
Disable half, see what you get. If better, reenable half and if nonbetter than disable half again. Repeat until you find the roof cause(s). That's about the only way with a list that long, assuming your load order is more or less correct, no old or broken more, missing dependencies and probably a dozen other things.
Ruby Aug 13, 2019 @ 6:40am 
Originally posted by brian_va:
Disable half, see what you get. If better, reenable half and if nonbetter than disable half again. Repeat until you find the roof cause(s). That's about the only way with a list that long, assuming your load order is more or less correct, no old or broken more, missing dependencies and probably a dozen other things.
Did this for a long time and did it like eight times and always nothing .-. thats why i came here to help maybe if somebody spots something but thanks for trying to help
Last edited by Ruby; Aug 13, 2019 @ 8:55am
Ruby Aug 13, 2019 @ 6:41am 
i have 2500h on rimworld and like 400-500h of that was trying to fix mods So i am really like oofed rn
Morkonan Aug 13, 2019 @ 6:44am 
Originally posted by SCP:DR Phillip:
i have 2500h on rimworld and like 400-500h of that was trying to fix mods So i am really like oofed rn

LOL!

Next up - What are you specs? Use Steam to help post them: At the top of the Steam menu, click Help, then click System Information, then copy that and paste the relevant infos, like RAM, CPU, GPU, OS, etc.. That will help get the basics out of the way.

PS - Makes sure you've already updated all your drivers, since that's something many will ask about.
Ruby Aug 13, 2019 @ 6:55am 
Originally posted by Morkonan:
Originally posted by SCP:DR Phillip:
i have 2500h on rimworld and like 400-500h of that was trying to fix mods So i am really like oofed rn

LOL!

Next up - What are you specs? Use Steam to help post them: At the top of the Steam menu, click Help, then click System Information, then copy that and paste the relevant infos, like RAM, CPU, GPU, OS, etc.. That will help get the basics out of the way.

PS - Makes sure you've already updated all your drivers, since that's something many will ask about.
and I updated drivers recently like 1-2 weeks ago but i will update them again thanks for help
RyansPlace Aug 13, 2019 @ 7:14am 
ok, here are some offenders for lag spikes: 'What the Hack', Animal Gear, common sense, mining priorities.

Other considerations that will clean up your game:

Are you using RuntimeGC?

Are you deleting old saves? Deleting save reduce the weight of the files the cloud has to sync in steam so deleting them will improve the sync download when you close rimworld.

I had stutter issues until I removed some mods and ran runtimeGC to clean up the files. I'm also told closing steam after you load rimworld might help as it removes any downoad stutters.
Last edited by RyansPlace; Aug 13, 2019 @ 7:15am
Ruby Aug 13, 2019 @ 7:24am 
Didnt Delete saves and i am using runtimegc i have lag spikes in early game as soon as i make a world even with 1 pawn
Last edited by Ruby; Aug 13, 2019 @ 7:34am
Ruby Aug 13, 2019 @ 7:26am 
and i know What the hack and animal gear is causing it maybe mining priorities if i still have common sense accidentaly activated then its probably him causing it
Morkonan Aug 13, 2019 @ 7:49am 
Originally posted by SCP:DR Phillip:
and i know What the hack and animal gear is causing it maybe mining priorities if i still have common sense accidentaly activated then its probably him causing it

Just wanted to say - Props to you for organizing your OP to provide necessary information and for not immediately screaming at everyone that replies to "fix your game" like so many others might! :)

Check your game logs to see if anything is reported there that looks suspicious. You can also get the game to create a more verbose error log, IIRC, by going into devmode and clicking the report function. (You'll want to disable it after awhile since those logs can get very big.)

What screen mode are you running? (Note: You should be good since you're using an NVidia and not an AMD based chipset, but it helps to check to be sure what mode you're running.)

Your stutter is most-likely mod-related, but you may want to also disable the Steam Overlay if you notice any mouse or display related or resolution related problems. If you're running at high or extended resolutions/display ratios, I'd recommend disabling it. (I disable it by default, but that's just something I always do, since it can cause issues in a lot of ways.)
Ruby Aug 13, 2019 @ 7:55am 
Originally posted by Morkonan:
Originally posted by SCP:DR Phillip:
and i know What the hack and animal gear is causing it maybe mining priorities if i still have common sense accidentaly activated then its probably him causing it

Just wanted to say - Props to you for organizing your OP to provide necessary information and for not immediately screaming at everyone that replies to "fix your game" like so many others might! :)

Check your game logs to see if anything is reported there that looks suspicious. You can also get the game to create a more verbose error log, IIRC, by going into devmode and clicking the report function. (You'll want to disable it after awhile since those logs can get very big.)

What screen mode are you running? (Note: You should be good since you're using an NVidia and not an AMD based chipset, but it helps to check to be sure what mode you're running.)

Your stutter is most-likely mod-related, but you may want to also disable the Steam Overlay if you notice any mouse or display related or resolution related problems. If you're running at high or extended resolutions/display ratios, I'd recommend disabling it. (I disable it by default, but that's just something I always do, since it can cause issues in a lot of ways.)

Thank You I will try all of that after i check updates for drivers also what do you mean what screen i am running sorry :d but if i understand right its 1920x1080 full screen
f1rools22 Aug 13, 2019 @ 8:11am 
I have just started getting lag spikes too, I am about to post a seperate thread, but out of interest if you open the debug log in dev mode in the game in the main thread to you have this occouring every lag spike?
Verse.Sound.SubSustainer:.ctor(Sustainer, SubSoundDef)
If so- we may have the same problem and could check between us common mods and suck to find the cause.
Preechr Aug 13, 2019 @ 8:23am 
You might want to try RWMS: https://steamcommunity.com/app/294100/discussions/0/1815422173040371698/

...BUT, there's a really good chance it will uninstall several of the hundreds of your mods as it only sorts mods it is aware of. Sending the author your json file afterward will help the tool but it will also cause you some pain with reinstalling a bunch of stuff and manually sorting out where it all goes. If you run RWMS and can then start a game without the problem reoccurring, then at least you have a good starting point...
Morkonan Aug 13, 2019 @ 8:32am 
Originally posted by SCP:DR Phillip:
...Thank You I will try all of that after i check updates for drivers also what do you mean what screen i am running sorry :d but if i understand right its 1920x1080 full screen

I was just making sure you weren't running in some unique form of windowed mode or some unique display setting, that's all. All good!
< >
Showing 1-15 of 40 comments
Per page: 1530 50

Date Posted: Aug 13, 2019 @ 6:18am
Posts: 40