19 hours ago, BFT2020 said:
That is like your check engine light going on in your car. Your car is telling you something is not right, but not what it is exactly. The same thing with that code. Something is not right in your game (either from vanilla or mods), but without the logs as @bdubyah mentioned, nobody is going to be able to help you root cause the issue.
I'm getting the same error and it makes the game stutter while doing it. Only seems to happen at night and near the trader.
The error code from the log is here:
(Filename: C:/Builds/7DaysToDie/Mods/0-SCore/Features/LockPicking/Harmony/LockPickingUtils.cs Line: 8)
NullReferenceException: Object reference not set to an instance of an object
at Features.LockPicking.LockPickingUtils.CheckForMiniGame (EntityAlive entityAlive) [0x00001] in C:\Builds\7DaysToDie\Mods\0-SCore\Features\LockPicking\Harmony\LockPickingUtils.cs:8
at Features.LockPicking.BlockDoorSecurePatch+BlockDoorSecureOnBlockActivated.Prefix (Block& __instance, System.String _commandName, WorldBase _world, System.Int32 _cIdx, Vector3i _blockPos, BlockValue _blockValue, EntityPlayerLocal _player) [0x00022] in C:\Builds\7DaysToDie\Mods\0-SCore\Features\LockPicking\Harmony\BlockDoorSecurePatch.cs:25
at (wrapper dynamic-method) BlockDoorSecure.DMD<System.Boolean BlockDoorSecure:OnBlockActivated(System.String, WorldBase, System.Int32, Vector3i, BlockValue, EntityPlayerLocal)>(BlockDoorSecure,string,WorldBase,int,Vector3i,BlockValue,EntityPlayerLocal)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Boolean BlockDoorSecure:OnBlockActivated(System.String, WorldBase, System.Int32, Vector3i, BlockValue, EntityPlayerLocal)>(BlockDoorSecure,string,WorldBase,int,Vector3i,BlockValue,EntityPlayerLocal)
at (wrapper dynamic-method) TraderArea.DMD<System.Boolean TraderArea:SetClosed(World, System.Boolean, EntityTrader, System.Boolean)>(TraderArea,World,bool,EntityTrader,bool)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Boolean TraderArea:SetClosed(World, System.Boolean, EntityTrader, System.Boolean)>(TraderArea,World,bool,EntityTrader,bool)
at EntityTrader.OnUpdateLive () [0x002af] in <5176467e17874e86b9743320f44f08c8>:0
at EntityAlive.OnUpdateEntity () [0x00035] in <5176467e17874e86b9743320f44f08c8>:0
at World.TickEntity (Entity e, System.Single _partialTicks) [0x0011e] in <5176467e17874e86b9743320f44f08c8>:0
at World.TickEntitiesSlice (System.Int32 count) [0x00037] in <5176467e17874e86b9743320f44f08c8>:0
at World.TickEntitiesSlice () [0x00000] in <5176467e17874e86b9743320f44f08c8>:0
at GameManager.UpdateTick () [0x00026] in <5176467e17874e86b9743320f44f08c8>:0
at GameManager.gmUpdate () [0x0038a] in <5176467e17874e86b9743320f44f08c8>:0
at GameManager.Update () [0x00000] in <5176467e17874e86b9743320f44f08c8>:0
(Filename: C:/Builds/7DaysToDie/Mods/0-SCore/Features/LockPicking/Harmony/LockPickingUtils.cs Line: 8)
Also, and I've no clue if it's a mistake or whatnot, but the path C:/Builds(...) is wrong. I have 7DtD installed in C:/Games/Steam/(etc...)