if i change this line(objectArray = variables.GetValue(); ) it works. is there any reason to send FSMVars to stringFormat?
void DoFormatString()
{
for (var i = 0; i < variables.Length; i++)
{
objectArray[i] = variables[i].GetValue();
}
try
{
storeResult.Value = string.Format(format.Value, objectArray);
}
catch (System.FormatException e)
{
LogError(e.Message);
Finish();
}
}