diff --git a/Dalamud/Game/Gui/NamePlate/NamePlateUpdateHandler.cs b/Dalamud/Game/Gui/NamePlate/NamePlateUpdateHandler.cs index e2b2e4191..a8c6ff3c1 100644 --- a/Dalamud/Game/Gui/NamePlate/NamePlateUpdateHandler.cs +++ b/Dalamud/Game/Gui/NamePlate/NamePlateUpdateHandler.cs @@ -340,6 +340,9 @@ internal unsafe class NamePlateUpdateHandler : INamePlateUpdateHandler return null; } + if (this.ArrayIndex >= this.context.Ui3DModule->NamePlateObjectInfoCount) + return null; + var objectInfoPtr = this.context.Ui3DModule->NamePlateObjectInfoPointers[this.ArrayIndex]; if (objectInfoPtr.Value == null) return null;