If you create a Marker by scripting, or one create a function and then call the function, the marker will be create correctly, but you will have a error message on screen afther the marker creation, and the .rpt file of ArmA 3 will be full of error message like this:
Warning Message: No entry 'bin\config.bin/CfgMarkers.DOT'.
Warning Message: No entry '.icon'.
Warning Message: '/' is not a value
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.color'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry 'bin\config.bin/CfgMarkers.DOT'.
Warning Message: No entry '.icon'.
Warning Message: '/' is not a value
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.color'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array