Page MenuHomeFeedback Tracker

crashes if description.ext contains errors
Closed, ResolvedPublic

Description

Game crashes when loading/saving missions in the editor if there are errors in the description.ext for example defining twice the same class.

Could be aerror like the following
try
{
//...
}
catch (Exception ex)
{
printError(ex);
exit(-1);
}

Details

Legacy ID
2687779375
Severity
None
Resolution
Suspended
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

open editor
create new mission
create a description.ext with errors
save
load after restarting the game after crash

Event Timeline

Coding edited Steps To Reproduce. (Show Details)Jun 11 2013, 6:37 PM
Coding edited Additional Information. (Show Details)
Coding set Category to Game Crash.
Coding set Reproducibility to Always.
Coding set Severity to None.
Coding set Resolution to Suspended.
Coding set Legacy ID to 2687779375.May 7 2016, 2:34 PM
Bohemia added a subscriber: ceeeb.Jun 11 2013, 6:37 PM
Spy added a subscriber: Spy.May 7 2016, 2:34 PM
Spy added a comment.Jun 28 2013, 10:08 AM

I can confirm this. Seems like any error in the script will cause a crash, mine kept crashing because of "};".

Coding added a subscriber: Coding.May 7 2016, 2:34 PM

It is annoying like hell!!! Please fix it.

Simon added a subscriber: Simon.May 7 2016, 2:34 PM
Simon added a comment.Aug 8 2013, 6:21 PM

It's actually not a crash, the game is explicitly terminated if it's parsing a config file with errors because of the unpredictable behavior that might happen afterwards.

Unfortunately, this is hardcoded too deep and won't be fixed until after release.

I understand that it makes creating custom missions painful, so to speed up the workflow at least a little, I suggest using path to your mission as Arma3's launch parameter:

arma3.exe [switches] [path to your mission's sqm in quotation marks]

Fank added a subscriber: Fank.May 7 2016, 2:34 PM
Fank added a comment.May 14 2014, 12:41 AM

Issue closed as obsolete. If you encounter this problem again, please create another ticket. Thank you.