Skip to content

ServerCrash: - System.NullReferenceException: Object reference not set to an instance of an object. #25887

Description

@sakakettner

The following crash keeps happening recently.

log_260710012514.log

[01:56:41.720] [43] [Error] [Eco] System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at Eco.Gameplay.Systems.TextLinks.TextLinkManager.GetLinkId(Object link)
at Eco.Gameplay.Systems.TextLinks.UILinkExtensions.UILink(ILinkable linkable, LocString content)
at Eco.Gameplay.Housing.PropertyValues.Internal.RoomTierUtils.CalcRoomTier(RoomStats stats)
at Eco.Gameplay.Housing.PropertyValues.Internal.StandardFurnishedRoomValue.CalculateValue(RoomStats stats)
at Eco.Gameplay.Rooms.Room.ScanRoomAndUpdate(Boolean rescanBlocks)
at Eco.Gameplay.Rooms.RoomUpdater.TestChanges(IEnumerable1 positions) at Eco.Gameplay.Rooms.RoomUpdater.Update(ThreadSafeList1 rooms, ThreadSafeDictionary2 posToRooms, IEnumerable1 positions, IEnumerable1 roomsToUpdateValue) at Eco.Gameplay.Rooms.RoomData.ScanChangesForRooms() at Eco.Gameplay.Rooms.RoomPlugin.TickAll() at Eco.Core.Utils.Threading.EventDrivenWorker.<>c__DisplayClass4_0.<.ctor>b__0(CancellationToken token) at Eco.Core.Utils.Threading.EventDrivenWorker.DoRepeatableWork(CancellationToken token) at Eco.Core.Utils.Threading.RepeatableWorkerBase.DoWork(CancellationToken token) --- End of inner exception stack trace --- System.NullReferenceException: Object reference not set to an instance of an object. at System.Object.GetType() at Eco.Gameplay.Systems.TextLinks.TextLinkManager.GetLinkId(Object link) at Eco.Gameplay.Systems.TextLinks.UILinkExtensions.UILink(ILinkable linkable, LocString content) at Eco.Gameplay.Housing.PropertyValues.Internal.RoomTierUtils.CalcRoomTier(RoomStats stats) at Eco.Gameplay.Housing.PropertyValues.Internal.StandardFurnishedRoomValue.CalculateValue(RoomStats stats) at Eco.Gameplay.Rooms.Room.ScanRoomAndUpdate(Boolean rescanBlocks) at Eco.Gameplay.Rooms.RoomUpdater.TestChanges(IEnumerable1 positions)
at Eco.Gameplay.Rooms.RoomUpdater.Update(ThreadSafeList1 rooms, ThreadSafeDictionary2 posToRooms, IEnumerable1 positions, IEnumerable1 roomsToUpdateValue)
at Eco.Gameplay.Rooms.RoomData.ScanChangesForRooms()
at Eco.Gameplay.Rooms.RoomPlugin.TickAll()
at Eco.Core.Utils.Threading.EventDrivenWorker.<>c__DisplayClass4_0.<.ctor>b__0(CancellationToken token)
at Eco.Core.Utils.Threading.EventDrivenWorker.DoRepeatableWork(CancellationToken token)
at Eco.Core.Utils.Threading.RepeatableWorkerBase.DoWork(CancellationToken token)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions