What I think caused this was that one of the enemy archers killed my character (where the cursor is on the screenshot) whos turn would have been next.
Log file is attached.
edit: nvm the file type isnt allowed, heres the end portion of the log file showing the event
15:37:40
SQ
Turn started for Brigand Poacher
15:37:40
SQ
*
15:37:40
SQ
* Brigand Poacher: Starting turn.
15:37:40
SQ
-> Behaviors to pick from:
Attack.Bow (543.823)(*), Engage.Ranged (120), Idle (1), Engage.Melee (0), Attack.Default (0), Reload (0), Defend.Rotation (0), Attack.Puncture (0), BreakFree (0), Flee (0), Recover (0), Retreat (0), SwitchTo.Ranged (0), SwitchTo.Melee (0), Roam (0), Defend (0)
15:37:40
SQ
-> Behavior picked: Attack.Bow (543.823)
15:37:41
SQ
* Brigand Poacher: Using Aimed Shot against Magnus!
15:37:41
SQ
Brigand Poacher uses skill Aimed Shot
15:37:42
SQ
-> Behaviors to pick from:
Idle (1)(*), Reload (0), Defend.Rotation (0), Attack.Default (0), Retreat (0), Attack.Puncture (0), Engage.Melee (0), BreakFree (0), Flee (0), Recover (0), Engage.Ranged (0), SwitchTo.Ranged (0), SwitchTo.Melee (0), Roam (0), Defend (0), Attack.Bow (0)
15:37:42
SQ
-> Behavior picked: Idle (1)
15:37:42
SQ
* Brigand Poacher: Ending Turn with 1 of 9 AP left.
15:37:42
SQ
* —————————————————
15:37:42
SQ
Turn started for Magnus
15:37:42
SQ
Magnus has died.
15:37:42
UI
Failed to load procedural content “procedural/tacticalentity(40122,16645,socket,arrow)”.
15:37:57
UI
ConsoleAPI coui://ui/screens/tactical/modules/tactical_screen_turnsequencebar/turnsequencebar_module.js:2016:16: ERROR: Failed to remove entity. Reason: Entity id: 1967611784 not found.
15:37:57
UI
ConsoleAPI coui://ui/screens/tactical/modules/tactical_screen_turnsequencebar/turnsequencebar_module.js:904:26: ERROR: Failed to query entity data for entity (16645). Reason: Invalid result.
15:38:29
Core
Shutting down engine core.