cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
117 stars 21 forks source link

there may have a bug or mod conflication cause animal and pawn can't move and make massive lag #253

Closed 136068448 closed 3 years ago

136068448 commented 3 years ago

Describe the bug When game spawn some new animal and pawn or try to make them do somthing, the animal or pawn will do nothing and stay at the place they spawn or stand before do some thing, then will occur lots of red error message, then game will gave a massive lag, if i use the mod named Character Edit to move them to another place, it can handle this question and i try to restart game and load save it also be ,and i try to re product this bug again after restart game but failled(Edit: this question happended again when in a Herd migration event and error log same as this one and if use DEV menu to kill the animal which stunk, it will be solved).

Error Log https://gist.github.com/136068448/517a055dee7dac8d6c82d2a6470793f9

Mod List

Screenshots RimWorld by Ludeon Studios 2020-11-22 01-25-3020201122224206 RimWorld by Ludeon Studios 2020-11-22 01-25-302020112222597

cseelhoff commented 3 years ago

This is hard to troubleshoot with the extensive mod list. I looked at the error log, and nothing stands out to me at this time. If you can isolate this down to one mod, that would help.

136068448 commented 3 years ago

This is hard to troubleshoot with the extensive mod list. I looked at the error log, and nothing stands out to me at this time. If you can isolate this down to one mod, that would help.

I found this issue will occur when there have too many animal in a map,seems too many animal will make the path calculate of some animal stop,because i kill the animal in map the game not slow agian and the error disappear,i will try to find which mod conflict cause this issue, and when this issue appear, the animal which cause this seems not just wait in a point,it product many filth EDIT:I occur a big Infestation and it make my normal gameplay become lag,i think this issue is just because of there have to many animal to calculate,in normal,the all animal can be calculate but if the number breakthrough a point,the thread can't calculate so many animal so will have some animal seems like stunk(such as in a herdmigration or the infestation),if the number of animal come back to the normal,those animal will be calculated again and game come to normal,and i try to remove the Animaltab and Animal logic mod,it seems make the infestation not make game lag(there occur a massive error message about large hive but i think it may because of the Vanilla expand-infection mod).so i guess may the animaltab or animallogic cause the lag EDIT:remove the animallogic and animaltab just can make game smooth when the error of animal path occur, it can't resolve this issue at all EDIT:seems alright after i remove achtung;camera+;commonSense