Page MenuHomeFeedback Tracker

Virtual Machine Exception LayerTaskDefend
Closed, ResolvedPublic

Description

20:28:37.312 SCRIPT : ScenarioFramework: ->Task: Generating task Conduct Area Defense. Description: Defend central village or town against a counter attack.
20:28:37.313 SCRIPT (E): Virtual Machine Exception

Reason: NULL pointer to instance

Class: 'SCR_ScenarioFrameworkLayerTaskDefend'
Function: 'InitHUD'
Stack trace:
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkLayerTaskDefend.c:274 Function InitHUD
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkLayerTaskDefend.c:256 Function Init
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:92 Function SpawnObjects
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:149 Function OnActivate
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:268 Function ExecuteActions
scripts/Game/game.c:821 Function OnUpdate

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
10.0.22621 Build 22621
Category
General
Steps To Reproduce
  1. Create a Defend Task in Enfusion Workbench.
  2. Play it on a REAL dedicated server, not a peer or virtual.
Additional Information

This only happens on a dedicated server.

It does not happen in local hosted server, or scenario. This is a show stopper error, as it causes follow-on tasks not to run.

Event Timeline

From the crash.log


14.08 2023 17:43:55
Virtual Machine Exception

Reason: NULL pointer to instance

Class: 'SCR_ScenarioFrameworkLayerTaskDefend'
Function: 'InitHUD'
Stack trace:
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkLayerTaskDefend.c:274 Function InitHUD
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkLayerTaskDefend.c:256 Function Init
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:92 Function SpawnObjects
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:149 Function OnActivate
scripts/Game/ScenarioFramework/Components/SCR_ScenarioFrameworkActions.c:268 Function ExecuteActions
scripts/Game/game.c:821 Function OnUpdate

Runtime mode
CLI params: autoreload 30 maxFPS 120 profile C:\Servers\ArmaReforgerServer config C:\Servers\ArmaReforgerServer\configs\config.json addonDownloadDir C:\Servers\ArmaReforgerServer addonsDir C:\Servers\ArmaReforgerServer

Geez changed the task status from New to Awaiting internal Testing.Aug 16 2023, 10:53 AM
Geez closed this task as Resolved.Sep 13 2023, 10:10 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello Blackheart_Six.
The issue has been fixed internally and the fix will appear in one of the future updates.