Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error spam while exploring a Real Ruins map #16

Open
bonesbro opened this issue Nov 26, 2018 · 1 comment
Open

Error spam while exploring a Real Ruins map #16

bonesbro opened this issue Nov 26, 2018 · 1 comment
Labels

Comments

@bonesbro
Copy link

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?

@bonesbro
Copy link
Author

This actually affected my pawns too, and continued (though it seemed to get less severe) when I used the dev tools to destroy every door I could find on the map. It caused many pawns to freeze and not move, including some of my own.

@Aviuz Aviuz added the bug label Jan 11, 2020
@Aviuz Aviuz pinned this issue Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants