I am currently working on a variable font in Glyphs 3, with two axes (one for thickness, the other for width). When I export my font to test it in Illustrator, there is a random visual bug, particularly on the letter “M” with a black stroke, as shown in the attached images.
It was version 2025. I just updated to the latest version and tested it again, but the problem is still there. I also tried the steps you suggested.
What seems strange to me is that I’ve already had the same issue with another one of my fonts, but never with someone else’s font. What’s more, the issue is still there when I vectorize my text.
Anyway, I think it’s just an Illustrator bug because I also tried it on InDesign and the problem isn’t there.