Custom Parameter Keep Glyphs not working

Hi,

In most of my glyphs files this code won’t generate otf:

newInstance = GSInstance()
newInstance.name = "Test"
Glyphs.font.instances.append(newInstance)
newInstance.customParameters["Keep Glyphs"]=["A","B"]
newInstance.generate(FontPath = exportPath)

In a new file with only few glyphs it works. Why?

Thanks

Add a print at the beginning of the last line.

Ok. Thanks.

There was an error caused by non-automatic feature. Fixed.