If command configproperties is given a config path that includes an undefined variable or nil Arma 3 will crash to desktop without logging a related error message, just an access violation.
Description
Description
Details
Details
- Legacy ID
- 1464722721
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Game Crash
Steps To Reproduce
- Start Arma 3.
- Open the editor on any map. Place a NATO rifleman and Preview.
- Open the debug console and type:
var = configproperties [configfile >> x];
where x is undefined or nil.
- Click Local Execute.
- Arma 3 CTD
Additional Information
One part of my script that can cause the crash:
{
_classes pushback _x;
} foreach configproperties [missionconfigfile >> "loadout_define" >> _equip_side >> _equip_faction >> _typeofunit, "isclass _x"];
Where _equip_side, _equip_faction, and _typeofunit are supposed to be strings. If one of these variables is nil when configproperties executes, the game will crash immediately.
Particularly annoying when typing this command into one of the debug console's monitoring fields.