Skip to content

Critical Mistakes When Using a Headless Client #347

@Aezak7mi

Description

@Aezak7mi

I'm playing on a headless client with my friend, in the console of a headless client at the beginning of the raid there are errors about the assignment of PMC groups, while nothing is painted and doesn't even seem to break, but it seems that PMCs behave as usual (without the influence of the sain mod). I use the spt 4.0.6 sain+waypoint combination, I don't remember any other AI logic mods and mods that can break sain. Here is the error from the.log file
EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SAIN.SAINComponent.Classes.EnemyClasses.Enemy.SetLastVisiblePathPoint (SAIN.SAINComponent.Classes.EnemyClasses.BotVisiblePathNode node) [0x000a7] in <8f45ee1112964f0cb254f6d2488fc767>:0
at SAIN.Components.EnemyPathVisibilityRaycastJob.CheckVisionCommandsTest () [0x000a7] in <8f45ee1112964f0cb254f6d2488fc767>:0
at SAIN.Components.EnemyPathVisibilityRaycastJob+d__7.MoveNext () [0x000bd] in <8f45ee1112964f0cb254f6d2488fc767>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0
2025-12-10 02:47:05.114 +03:00|0.16.9.0.40087|Error|Default|IndexOutOfRangeException: Index was outside the bounds of the array.
SAIN.SAINComponent.Classes.EnemyClasses.Enemy.SetLastVisiblePathPoint (SAIN.SAINComponent.Classes.EnemyClasses.BotVisiblePathNode node) (at <8f45ee1112964f0cb254f6d2488fc767>:0)
SAIN.Components.EnemyPathVisibilityRaycastJob.CheckVisionCommandsTest () (at <8f45ee1112964f0cb254f6d2488fc767>:0)
SAIN.Components.EnemyPathVisibilityRaycastJob+d__7.MoveNext () (at <8f45ee1112964f0cb254f6d2488fc767>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class412:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions