• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Reforger Modding
  • /ARMD-132
Back
1

null on SCR_AIEnemyMarkingSystem.MarkTarget

General
1

State

Open
Issue key
ARMD-132
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
darc
Created
Nov 16, 2026
Views
4
Platform
PC Steam
Game Version

Latest

Modlist

Should happen with vanilla, but for example Freedom Fighters occasionally sees this issue.

Description

When AI groups mark spotted enemies on the map, SCR_AIEnemyMarkingSystem.MarkTarget does not check whether the marker was created. If the target's faction has no military marker entry (for example, a civilian-faction vehicle driven by a player in Freedom Fighters), a null marker is inserted into the replicated marker list. All clients then time out within ~20 seconds, and the server keeps throwing errors (GetStaticMarkerByID, RplSave on every join) until it is restarted.


There is a mod that addresses this for now: https://reforger.armaplatform.com/workshop/96092B7B7A7EF3F5-F.T.FOXTROTMarkerFixes . Though, this is a vanilla issue so should be addressed in the base game.


This issue is not easy to repro as it happens randomly during gameplay. The crash provides these details:

16:00:32.698 SCRIPT (E): Virtual Machine Exception 
Reason: NULL pointer to instance 
Class: 'SCR_MapMarkerManagerComponent' 
Function: 'GetStaticMarkerByID' 
Stack trace: scripts/Game/Map/Markers/SCR_MapMarkerManagerComponent.c:100 Function GetStaticMarkerByID 
scripts/Game/Map/Markers/SCR_MapMarkerManagerComponent.c:576 Function OnRemoveSynchedMarker 
scripts/Game/Map/Markers/SCR_MapMarkerManagerComponent.c:286 Function RemoveStaticMarker 
scripts/Game/Systems/SCR_AIEnemyMarkingSystem.c:137 Function MarkTarget 
scripts/Game/AI/Group/SCR_AIGroupPerception.c:189 Function MarkEnemyOnMap 
scripts/Game/AI/Group/SCR_AIGroupPerception.c:140 Function AddOrUpdateTarget 
scripts/Game/AI/Group/SCR_AIGroupPerception.c:307 Function UpdateTargetsFromMembers 
scripts/Game/AI/Group/SCR_AIGroupPerception.c:230 Function Update 
scripts/Game/AI/Components/SCR_AIGroupUtilityComponent.c:274 Function EvaluateActivity 
scripts/Game/AI/ScriptedNodes/Groups/SCR_AIDecideActivity.c:26 Function EOnTaskSimulate
Reactions

Activity

    11 minutes ago
  • darc
    created issue11 minutes ago
  • darc
    changed10 minutes ago
  • darc
    changed9 minutes ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
ARMD-132
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
darc
Created
Nov 16, 2026
Views
4