Page MenuHomeFeedback Tracker

Array of enum attributes should store enumerator names instead of values
Assigned, NormalPublic

Description

Prefabs and configs that contain arrays of an enum currently store the values instead of enumerator names in their files. This inevitably leads to mod conflicts when mods add new enumerators. A notable example is m_aAuthoredLabels in SCR_EditableEntityComponent.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce
  1. Open Prefabs/Vehicles/Wheeled/BTR70/BTR70.et in a code editor
  2. Search for m_aAuthoredLabels
Additional Information

A current work around is to make sure that the various mods use enumerators with explicitly assigned values, but this isn't an ideal solution.

Event Timeline

ookexoo created this task.Sep 5 2024, 11:17 AM
ookexoo edited Additional Information. (Show Details)Sep 5 2024, 11:34 AM
Geez changed the task status from New to Assigned.Sep 10 2024, 3:48 PM