RimWorld

RimWorld

Misc. Robots
This topic has been locked
Haekel 14 Aug, 2022 @ 1:45pm
Bots stop moving.
So, since rather recently, my bots will eventually just break and stop moving. They'll have a task (building, hauling something etc), but never move to get there. Instead they just hover in place, and throw a continuous stream of errors that brings my game to a crawl.

I'm not sure if this mod is the cause or if it is a mod conflict (more likely), but it only starts happening in games that have progressed for a couple of years.


Exception ticking Cleaning Bot 21 (at (84, 0, 108)): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch7(Verse.Pawn)
at AIRobot.X2_AIRobot.Tick () [0x00151] in <3ef990ab638749a0bb15edd769389ae1>:0
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch0(Verse.TickList)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


I'll also post my full log and modlist, if someone's interested. I'm aware it's a lot of mods, but it was working just fine until recently.

https://filebin.net/r1abb3yl8zuhgfqj
< >
Showing 1-4 of 4 comments
Haplo_X1  [developer] 15 Aug, 2022 @ 3:13pm 
Hmm looks to be a problem with another mod: Soyuz.Patches.Pawn_Tick_Patch.Transpiler
In that harmony patch something is checked that is null (not available) in the robots.
Haekel 15 Aug, 2022 @ 4:28pm 
Thank you!

Sadly this tells me very little. The only references I could find were to RocketMan, and there it tells me that:

"SOYUZ:[README] !!IMPORTANT!! There is a large chance this error is not related to RocketMan at all. RocketMan has patch on pawns that enables throttling, it will cause it to appear in the stacktrace and in visual exceptions, but in 99.9% of the time it's not RocketMan causing this issue but something down the line. RocketMan patches Pawn.Tick function just to add the throttling ability, the new code doesn't have any known issues and the issue is most likely futher down the line with error System.NullReferenceException: Object reference not set to an instance of an object"

I have no idea where to go from that, or what that means. For a moment I thought it had something to do with RocketMan's time dilation feature, but apparently most of the Bots are exempt from that anyway.

This issue is weird. I've deleted the base stations, then later added them, and the problem was gone. Later, it reappeared, only to be gone the next time I started the game. So it doesn't appear all of the time, or even most of the time, which makes it a bit harder to track, but also lessens the impact it has on my game. Oh well.

Thank you for your time, and your amazing mod! :)
Last edited by Haekel; 15 Aug, 2022 @ 4:30pm
Myst Leissa 5 Sep, 2022 @ 11:41am 
@Haekel, Do you run the Locks 2 Mod on the game in question? I've found setting the race filter isn't enough for robots to open doors to get to their tasks; however there is a sub mod for Locks 2 to enable Misc Robots Compatibilty that should work. Neither Locks 2 nor Misc Robots descriptions make note of this mod so you'll have to search workshop.
Haekel 5 Sep, 2022 @ 12:11pm 
Originally posted by Nysch:
@Haekel, Do you run the Locks 2 Mod on the game in question? I've found setting the race filter isn't enough for robots to open doors to get to their tasks; however there is a sub mod for Locks 2 to enable Misc Robots Compatibilty that should work. Neither Locks 2 nor Misc Robots descriptions make note of this mod so you'll have to search workshop.


I did at that time, and I don't think I had the other mod. I'll check it out next time though, thanks! :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50