Solarint / SAIN

Full EFT AI Replacement
81 stars 22 forks source link

BulletCount ERROR #85

Closed ArchmageTony closed 6 months ago

ArchmageTony commented 1 year ago

Sorry I can't speak English very well,so I use google translate. This error will cause out of memory,and game will be carsh.I use one mod 'Damkris-CustomScav' it can random generate weapon and equipment for scav.Maybe it cause wrong weapon generate?I try to upload log and my use mod.If the error cause by wrong weapon,how can I know which one weapon?'Damkris-CustomScav'has a blacklist that prevents weapons from spawning.

2023-08-29 16:55:24.307 +08:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at GClass358.get_MaxBulletCount () [0x0002e] in <8a5b326544954fa79c970c303424f3af>:0 
  at SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.LowOnAmmo (System.Single ratio) [0x00026] in <2d9e4aaae7c2462da4a360dafd138280>:0 
  at SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.GetDecision (SAIN.SelfDecision& Decision) [0x0001f] in <2d9e4aaae7c2462da4a360dafd138280>:0 
  at SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () [0x0000f] in <2d9e4aaae7c2462da4a360dafd138280>:0 
  at SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () [0x000af] in <2d9e4aaae7c2462da4a360dafd138280>:0 
  at SAIN.SAINComponent.SAINComponentClass.Update () [0x000f8] in <2d9e4aaae7c2462da4a360dafd138280>:0 
2023-08-29 16:55:24.307 +08:00|0.13.1.3.25206|Error|Default|NullReferenceException: Object reference not set to an instance of an object
GClass358.get_MaxBulletCount () (at <8a5b326544954fa79c970c303424f3af>:0)
SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.LowOnAmmo (System.Single ratio) (at <2d9e4aaae7c2462da4a360dafd138280>:0)
SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.GetDecision (SAIN.SelfDecision& Decision) (at <2d9e4aaae7c2462da4a360dafd138280>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () (at <2d9e4aaae7c2462da4a360dafd138280>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () (at <2d9e4aaae7c2462da4a360dafd138280>:0)
SAIN.SAINComponent.SAINComponentClass.Update () (at <2d9e4aaae7c2462da4a360dafd138280>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class312:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Log:https://mega.nz/file/n2InVSQA#mZrtMnb7bBEELAF4cZ3AJjiD9TbKOnOA1pE9rJxoQN0 Mod:https://mega.nz/file/zv4TgaDb#kdCOoJgiO5IEEqfbWXvtN6_veJXfgkcTF4zFtUdYa3U Thank you

Terminex19 commented 1 year ago

Hi @Solarint and @DrakiaXYZ, "same" problem as him, having a memory leak with this error (allegedly). Doesn't seem to be bound a particular map but so far Woods and Streets of Tarkov seem to be the ones where the error is more prevelant. After looking at the log files, the problem seems to be in the items that are bound to spawn on the bots, either that or somewhere on the navegation pattern they are following. I am not particularly knowledgeable in this regard.

The error starts with this and just repeats the part of exception until either bot is dead and/or looted. I haven't had the chance to look further into when the problem actually stops, but I find that killing that random bot starts to decrease the memory usage until another bot spawns and the problem starts all over again. Not really sure if it always is the next bot or just random bot that spawns with the problem.

2023-09-21 21:39:54.112 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:54.296 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:54.369 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:54.380 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:54.963 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:55.034 -07:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at EFT.EnvironmentEffect.IndoorTrigger.Check (UnityEngine.Vector3 pos) [0x00010] in <8a5b326544954fa79c970c303424f3af>:0 
  at EFT.EnvironmentEffect.TriggerGroup.Check (UnityEngine.Vector3 pos) [0x00052] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase.method_1 (UnityEngine.Vector3 pos) [0x0000a] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase+Struct56.MoveNext () [0x0013d] in <8a5b326544954fa79c970c303424f3af>:0 
2023-09-21 21:39:55.088 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:39:55.110 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:40:14.497 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-21 21:40:43.132 -07:00|0.13.1.3.25206|Error|Default|error null take to hands 
2023-09-21 21:40:56.822 -07:00|0.13.1.3.25206|Error|Default|error null take to hands 
2023-09-21 21:41:13.747 -07:00|0.13.1.3.25206|Error|Default|error null take to hands 
2023-09-21 21:41:14.253 -07:00|0.13.1.3.25206|Error|Default|error null take to hands 
2023-09-21 21:41:14.771 -07:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at GClass358.get_MaxBulletCount () [0x0002e] in <8a5b326544954fa79c970c303424f3af>:0 
  at SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.LowOnAmmo (System.Single ratio) [0x00026] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.GetDecision (SAIN.SelfDecision& Decision) [0x0001f] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () [0x0000f] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () [0x000af] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.SAINComponentClass.Update () [0x000f8] in <b1ffd80b761144a8a12222da6ae7f714>:0 
2023-09-21 21:41:14.771 -07:00|0.13.1.3.25206|Error|Default|NullReferenceException: Object reference not set to an instance of an object
GClass358.get_MaxBulletCount () (at <8a5b326544954fa79c970c303424f3af>:0)
SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.LowOnAmmo (System.Single ratio) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.GetDecision (SAIN.SelfDecision& Decision) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.SAINComponentClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class312:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

PC:

The game version: STP AKI 3.6.1

Mods used:

On some extra comments regarding the mods used, while I have activated most of the Realism Mod components (with the exception of Health and Traders changes), I've changed the options within the GUI to prevent any errors with the Spawn points, as well as loadouts, as it was indicated within the installation of Realism Mod post. Other than that, with SVM the only changes are done to the Hideout, Insurance, Quests, Case Space Manager, and Scav (only changed the time taken for the SCAV run to reset) sections.

The Full Game Log Files: (Error and Traces get up to 20MB+ with the same error)

The BenInEx Log File:

Terminex19 commented 1 year ago

I was playing before on the same map (woods) where the problem was previously mentioned and ended up with the same issue of memory leak in terms of higher memory usage than the normal (for reference, my personal memory usage with the aforementioned mods and the spawning/despawning + bodies physics + graphic settings it seems to be around 20% - 30% max, so around 20 GB or so of RAM), so I'm guessing the problem might be somewhere on the actions taken by the bots when fighting by themselves, "away" from the player.

Tried to replicate the issue mentioned above but ended up getting another exception thrown by the Unity Engine. From what could be inferred based on the gameplay, the issue seemed to be whenever the bots where fighting and they were far from the player, in this case, far away from me and not engaging in combat with me but still close enough to either spawn/despawn them and hear the gunshots from their fight. I'm not sure if the following problem is only done by an interaction from the PMC[P] bots vs SCAV[S] bots or any other possible permutation (PvP, SvS or faction related).

NEW EXCEPTION THAT WAS THROWN [Snippet]:

2023-09-22 21:24:27.339 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [120]: URL: http://127.0.0.1:6969/client/match/group/exit_from_menu, crc: .  
2023-09-22 21:24:27.378 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [120]: URL: http://127.0.0.1:6969/client/match/group/exit_from_menu, crc: , responseText: . 
2023-09-22 21:24:28.184 -07:00|0.13.1.3.25206|Debug|application|TRACE-NetworkGameMatching H 
2023-09-22 21:24:28.184 -07:00|0.13.1.3.25206|Debug|application|TRACE-NetworkGameMatching I 
2023-09-22 21:24:38.753 -07:00|0.13.1.3.25206|Debug|application|TRACE-GamePrepare 2 
2023-09-22 21:24:38.798 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [122]: URL: http://127.0.0.1:6969/client/location/getLocalloot, crc: .  
2023-09-22 21:24:38.798 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [121]: URL: http://127.0.0.1:6969/client/raid/configuration, crc: .  
2023-09-22 21:24:38.832 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [121]: URL: http://127.0.0.1:6969/client/raid/configuration, crc: , responseText: . 
2023-09-22 21:24:39.562 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [122]: URL: http://127.0.0.1:6969/client/location/getLocalloot, crc: , responseText: . 
2023-09-22 21:24:43.939 -07:00|0.13.1.3.25206|Debug|application|Heap pre-allocation - disabled 
2023-09-22 21:24:44.193 -07:00|0.13.1.3.25206|Debug|application|totalMemoryBeforeCleanUp 1577.258 
2023-09-22 21:24:44.193 -07:00|0.13.1.3.25206|Debug|application|GC::Collect 
2023-09-22 21:24:44.445 -07:00|0.13.1.3.25206|Debug|application|GC::Collect Aggressive 
2023-09-22 21:24:44.948 -07:00|0.13.1.3.25206|Debug|application|collectedMemoryGB 0.015625 
2023-09-22 21:24:45.302 -07:00|0.13.1.3.25206|Debug|application|GC mode switched to Disabled 
2023-09-22 21:24:59.988 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.107 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.144 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.172 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.225 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.235 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:25:00.505 -07:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at EFT.EnvironmentEffect.IndoorTrigger.Check (UnityEngine.Vector3 pos) [0x00010] in <8a5b326544954fa79c970c303424f3af>:0 
  at EFT.EnvironmentEffect.TriggerGroup.Check (UnityEngine.Vector3 pos) [0x00052] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase.method_1 (UnityEngine.Vector3 pos) [0x0000a] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase+Struct56.MoveNext () [0x0013d] in <8a5b326544954fa79c970c303424f3af>:0 
2023-09-22 21:25:00.505 -07:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at EFT.EnvironmentEffect.IndoorTrigger.Check (UnityEngine.Vector3 pos) [0x00010] in <8a5b326544954fa79c970c303424f3af>:0 
  at EFT.EnvironmentEffect.TriggerGroup.Check (UnityEngine.Vector3 pos) [0x00052] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase.method_1 (UnityEngine.Vector3 pos) [0x0000a] in <8a5b326544954fa79c970c303424f3af>:0 
  at EnvironmentManagerBase+Struct56.MoveNext () [0x0013d] in <8a5b326544954fa79c970c303424f3af>:0 
2023-09-22 21:26:59.377 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [123]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:26:59.401 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [123]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:29:19.397 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [124]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:29:19.419 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [124]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:31:35.918 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:31:39.428 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [125]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:31:39.446 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [125]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:32:24.601 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 

In this case from above, the error repeats the 0.13.1.3.25206|Error|Default|can't find mags to reload until this shows up:

2023-09-22 21:38:53.077 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:40:59.535 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [129]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:40:59.554 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [129]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:42:20.328 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:43:19.574 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [130]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:43:19.574 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [130]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:43:36.430 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:44:06.467 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:44:12.692 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:44:37.936 -07:00|0.13.1.3.25206|Error|Default|UtilityOperationEvent not found on weapon_izhmash_saiga12k_10_12g.generated(Clone) 
2023-09-22 21:45:39.602 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [131]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:45:39.622 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [131]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:46:01.629 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:47:00.399 -07:00|0.13.1.3.25206|Error|Default|UtilityOperationEvent not found on weapon_toz_sks_762x39_model.generated(Clone) 
2023-09-22 21:47:09.382 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:47:33.169 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:47:46.919 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:47:59.618 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [132]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:47:59.639 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [132]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:48:21.547 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:48:21.960 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:48:22.053 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:48:22.108 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:48:22.614 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:48:23.172 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 

Followed by:

2023-09-22 21:50:06.104 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:06.104 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:19.652 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [133]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:50:19.673 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [133]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:50:24.737 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:24.737 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:24.737 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:50.908 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:50:54.330 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:54.330 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:50:54.330 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:51:03.371 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:51:21.838 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:51:23.053 -07:00|0.13.1.3.25206|Error|Default| 
EXCEPTION: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Transform.get_position_Injected(UnityEngine.Transform,UnityEngine.Vector3&)
  at UnityEngine.Transform.get_position () [0x00000] in <85d1d3e7744a4a47b5f51883bf40bba2>:0 
  at EFT.BifacialTransform.get_position () [0x00023] in <8a5b326544954fa79c970c303424f3af>:0 
  at SAIN.SAINComponent.BaseClasses.SAINPersonTransformClass.get_Position () [0x00014] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.BaseClasses.SAINPersonClass.get_Position () [0x00006] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.SAINEnemyVision.UpdateVisible (System.Boolean visible) [0x00066] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.SAINEnemyVision.Update (System.Boolean isCurrentEnemy) [0x00113] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.SAINEnemyClass.Update () [0x0002b] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.SAINEnemyController.UpdateEnemies () [0x00044] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.Classes.SAINEnemyController.Update () [0x00000] in <b1ffd80b761144a8a12222da6ae7f714>:0 
  at SAIN.SAINComponent.SAINComponentClass.Update () [0x00095] in <b1ffd80b761144a8a12222da6ae7f714>:0 
2023-09-22 21:51:23.053 -07:00|0.13.1.3.25206|Error|Default|NullReferenceException
UnityEngine.Transform.get_position () (at <85d1d3e7744a4a47b5f51883bf40bba2>:0)
EFT.BifacialTransform.get_position () (at <8a5b326544954fa79c970c303424f3af>:0)
SAIN.SAINComponent.BaseClasses.SAINPersonTransformClass.get_Position () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.BaseClasses.SAINPersonClass.get_Position () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.SAINEnemyVision.UpdateVisible (System.Boolean visible) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.SAINEnemyVision.Update (System.Boolean isCurrentEnemy) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.SAINEnemyClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.SAINEnemyController.UpdateEnemies () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.SAINEnemyController.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.SAINComponentClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class312:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

2023-09-22 21:51:24.462 -07:00|0.13.1.3.25206|Error|Default|Attempt to get name of undefined EPhraseTrigger 0 
2023-09-22 21:51:25.747 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:51:35.413 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:51:35.413 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:51:35.413 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:51:59.498 -07:00|0.13.1.3.25206|Error|Default|PriorityScatter100meter is bad cause 0.03  settings.MinScatter:0.06  name: 
2023-09-22 21:52:00.468 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:52:00.468 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:52:00.468 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:52:23.638 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:52:23.638 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:52:39.674 -07:00|0.13.1.3.25206|Info|backend|---> Request HTTPS, id [134]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: .  
2023-09-22 21:52:39.703 -07:00|0.13.1.3.25206|Info|backend|<--- Response HTTPS, id [134]: URL: http://127.0.0.1:6969/client/game/keepalive, crc: , responseText: . 
2023-09-22 21:53:17.799 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 
2023-09-22 21:53:17.799 -07:00|0.13.1.3.25206|Error|Default|can't find mags to reload 

And ending with this error messages:

2023-09-22 22:00:23.298 -07:00|0.13.1.3.25206|Error|Default|Can't set affinity mask. Error code: 0 
2023-09-22 22:00:23.696 -07:00|0.13.1.3.25206|Error|Default|PlayerBody destroyed without being disposed. Please call Dispose before destroying. 
2023-09-22 22:00:23.696 -07:00|0.13.1.3.25206|Error|Default|PlayerBody destroyed without being disposed. Please call Dispose before destroying. 

As before, I'm leaving the log files from the latest gameplay where the new issue was present. I'll try to be available if more information is needed, either that or to try to replicate the issue under more "strict" conditions.

The Full Game Log Files:

The BenInEx Log File:

Solarint commented 1 year ago

This bug has been a thing for a while, and I'm not sure if its something I can fix in my own code. I believe its an EFT bug showing it self. Hopefully it will be fixed in the next tarkov build, but if its not I'll dive into finding it.