Page MenuHomeFeedback Tracker

[1.3.0.125] MobileHQ Deploys with 0/0 Supplies
Confirmed Internally, NormalPublic

Description

Game Version number:
1.3.0.125

Modded?:
No

Issue Description:
When deploying a MobileHQ for the first time in Conflict, there's a chance that the ResourceComponent fails to initialize correctly. This results in the deployed command unit appearing on the map with 0 / 0 supplies, making it impossible for players to spawn on it.

I've had the most consistent success reproducing this bug on the CTI_Campaign_Arland (Conflict Arland) scenario, particularly when playing as the team that spawns on the southern side of the island (see screenshots below for reference).

To help identify the issue, I added debug logging to the CampaignMobileAssemblyStandaloneComponent.c. The output confirms that resourceConsumer.GetAggregatedMaxResourceValue() returns 0, which shouldn't be possible under normal conditions.

Debug Output:

SCRIPT       : UpdateSuppliesAmount: called
SCRIPT       : UpdateSuppliesAmount: Getting MainBase
SCRIPT       : UpdateSuppliesAmount: Getting BuildingIconImageset
SCRIPT       : UpdateSuppliesAmount: Finding 'Supplies' TextWidget
SCRIPT       : UpdateSuppliesAmount: resource widget = RichTextWidget<0x0000020808AE6B80> { Name: 'Supplies' }
SCRIPT       : UpdateSuppliesAmount: Finding 'SuppliesIMG' ImageWidget
SCRIPT       : UpdateSuppliesAmount: resourceImg widget = ImageWidget<0x0000020808AE52C0> { Name: 'SuppliesIMG' }
SCRIPT       : UpdateSuppliesAmount: Finding ResourceComponent on owner
SCRIPT       : UpdateSuppliesAmount: Getting ResourceConsumer
SCRIPT       : UpdateSuppliesAmount: HasConsumer = 1, Consumer = SCR_ResourceConsumer<0x0000020885D793B8>
SCRIPT       : UpdateSuppliesAmount: Getting Aggregated Resource Values
SCRIPT       : UpdateSuppliesAmount: Current = 0 / Max = 0
SCRIPT       : UpdateSuppliesAmount: Setting text format
SCRIPT       : UpdateSuppliesAmount: Loading image from set {F7E8D4834A3AFF2F}UI/Imagesets/Conflict/conflict-icons-bw.imageset
SCRIPT       : UpdateSuppliesAmount: Making widgets visible

Details

Severity
None
Resolution
Open
Reproducibility
Sometimes
Operating System
Windows 11 x64
Category
General
Steps To Reproduce
  1. Start a game on the Conflict Arland (CTI_Campaign_Arland) map.
  2. Select the team that spawns on the southern side of the island.
  3. Deploy the MobileHQ on the Bald Ridge road just North of the Main Operating Base.
  4. Once deployed, open the map and locate the command unit.
  5. Check the supply status of the deployed HQ — it should incorrectly display 0 / 0 supplies.
Additional Information

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Mon, Mar 24, 2:00 PM
Geez changed the task status from Awaiting internal Testing to Confirmed Internally.Tue, Mar 25, 4:50 PM