From 417fe39cd9e8355ac60731211634d14eb88b875e Mon Sep 17 00:00:00 2001 From: nebel <9887+nebel@users.noreply.github.com> Date: Tue, 4 Nov 2025 20:28:34 +0900 Subject: [PATCH] Add yet another check to NamePlateUpdateHander.GameObject --- Dalamud/Game/Gui/NamePlate/NamePlateUpdateHandler.cs | 3 +++ 1 file changed, 3 insertions(+) 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;