Skip to content

Error spam while exploring a Real Ruins map #16

@bonesbro

Description

@bonesbro

While exploring a large ruin created by Real Ruins there were a large number of hostiles. They spammed this error continuously in the error logs, and I could also sometimes trigger it by right clicking:

Exception ticking Morison (at (92, 0, 9)): System.NullReferenceException: Object reference not set to an instance of an object
at LocksDoorsExpanded.LockUtility.PawnCanOpen (RimWorld.Building_Door,Verse.Pawn) <0x000de>

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at LocksDoorsExpanded.LockUtility.PawnCanOpen (RimWorld.Building_Door,Verse.Pawn) <0x000de>

PawnCanOpen() looks like it does a good job guarding against nulls. Possibly the respectedState.owners check on line 71?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions