Title: Crash on opening inventory — NullReferenceException in InventoryCharacterElement.UpdateEquipmentSlots
Build: 29466 (Project Revision 152498) — Engine Unity_6000.1.15f1_upd1017
Description:
Game crashes consistently. Minidump shows STACK_BUFFER_OVERRUN (0xC0000409) in GameAssembly.dll at offset 0x97a815 — same offset across multiple crashes.
Trigger from Player.log: a NullReferenceException in Moon.Forsaken.InventoryCharacterElement.UpdateEquipmentSlots, called from OnInventoryUpdate. About 30 seconds later, the engine starts spamming Graphics.CopyTexture errors (src 1x1 → dst 1280x720) — over 12,000 errors in 20 seconds — until the engine self-terminates with Unstable environment, too many exceptions, terminating build.
Stack trace from Player.log:
2026-05-03T23:15:10.468|X|16928||NullReferenceException: Object reference not set to an instance of an object.
at Moon.Forsaken.InventoryCharacterElement.UpdateEquipmentSlots (Quantum.Frame f, Quantum.EntityRef heroRef, Quantum.EquipmentComponent* heroEquipment, System.Func`3[T1,T2,TResult] itemFilterTest)
at Moon.Forsaken.InventoryCharacterElement.OnShow (Quantum.Frame f, Moon.Forsaken.PlayerUIContext context, System.String playerName, Quantum.AttributeComponent* statsData, Quantum.LevelComponent* levelComponent, Quantum.EntityRef playerHero, Quantum.EquipmentComponent* heroEquipment, System.Func`3[T1,T2,TResult] itemFilterTest)
at Moon.Forsaken.InventoryScreenMain.UpdateScreenData (Moon.Forsaken.InventoryTab inventoryToShow)
at Moon.Forsaken.InventoryScreenMain.OnInventoryUpdate (Quantum.EventOnInventoryUpdate e)
at Quantum.EventsSync.MoonEventDispatcher.Dispatch (Quantum.EventBase e, Quantum.EventsSync.EventStage stage)
at Quantum.ViewSync.EventSynchronization.DispatchEvent
at frameworks.session.Session.Tick ()
at frameworks.session.SessionHandler.Tick (Moon.TheLoop.ViewFrame vf)
Followed by 12,000+ errors of:
Graphics.CopyTexture called with mismatching data size (src (1x1 with format 49 -> 4 bytes) dst (1280x720 with format 49 -> 3686400 bytes))
Final line:
Unstable environment, too many exceptions, terminating build.
System:
-
GPU: NVIDIA RTX 3060 12GB, driver 32.0.15.9636
-
CPU: Intel i5-12400
-
RAM: 16GB
-
OS: Windows 11 build 26200
-
Storage: SSD
-
Resolution: 2560x1440, D3D11
-
Tested with TAA+CAS, DLSS, and FSR — crash reproduces with same offset, so it’s not upscaler-related
-
Steam file integrity: verified, all files OK
Repro: Crash happens consistently after ~30 minutes of gameplay, when opening the inventory screen. The crash is reported automatically via Backtrace (crashpad in LocalLow\Moon Studios\NoRestForTheWicked\backtrace).
Player Log, Crashpad, Data Store and Dxdiag: