sailro / EscapeFromTarkov-Trainer

Escape from Tarkov (EFT) Trainer - Internal
MIT License
612 stars 138 forks source link

Loot Overlay not working #381

Closed trex0113 closed 1 year ago

trex0113 commented 1 year ago

On SPT-AKI 3.6.0 the Loot Overlay not working. i get this error:

2023-08-02 17:47:34.512 +02:00|0.13.1.3.25206|Error|Default| EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at EFT.Trainer.Features.LootItems.FindItemsInContainers (EFT.GameWorld world, System.Collections.Generic.List1[T] records) [0x00045] in <4259f701fc09497ca00d729b9cad73d6>:0 at EFT.Trainer.Features.LootItems.RefreshData () [0x0009f] in <4259f701fc09497ca00d729b9cad73d6>:0 at EFT.Trainer.Features.CachableFeature1+d6[T].MoveNext () [0x0002d] in <4259f701fc09497ca00d729b9cad73d6>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <85d1d3e7744a4a47b5f51883bf40bba2>:0 2023-08-02 17:47:34.512 +02:00|0.13.1.3.25206|Error|Default|NullReferenceException: Object reference not set to an instance of an object EFT.Trainer.Features.LootItems.FindItemsInContainers (EFT.GameWorld world, System.Collections.Generic.List1[T] records) (at <4259f701fc09497ca00d729b9cad73d6>:0) EFT.Trainer.Features.LootItems.RefreshData () (at <4259f701fc09497ca00d729b9cad73d6>:0) EFT.Trainer.Features.CachableFeature1+d6[T].MoveNext () (at <4259f701fc09497ca00d729b9cad73d6>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <85d1d3e7744a4a47b5f51883bf40bba2>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) Class312:UnityEngine.ILogHandler.LogException(Exception, Object) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) EFT.Trainer.Features.d__6:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

sailro commented 1 year ago

Fixed here: https://github.com/sailro/EscapeFromTarkov-Trainer/commit/dc9e9cc7462a1050cc62b2fedba88e7153e5f1f9

Thanks!