The scripthelper config helper functions are not working correctly.
WriteConfigToStream does not write the namespace of function parameters.
The cause is asIScriptFunction::GetDeclaration not considering the namespace.
ConfigEngineFromStream does not handle the empty namespace correctly, so if the namespace was changed and returned to empty, the parser will fail.
This code can parse namespaces correctly:
auto uiEnd = config.find( '\n', pos );
string ns = config.substr( pos, uiEnd - pos );
pos += ( uiEnd - pos );
uiEnd = ns.find_first_not_of( " \t" );
if( uiEnd != string::npos )
ns = ns.substr( uiEnd, ns.length() - uiEnd );
else
ns = "";