Some letters are not displayed in inDesign

Hello, when I export my Arabic font to InDesign and I write a sentence there are missing letters in between and it’s just empty space then I go back to glyphs and right the same sentence and all letters are present and connected together. And sometimes when I write two letters beside each other both disappear completely I’m very confused :confused:

How do you install the font. Do you use the Adobe fonts folder: Testing Your Fonts in Adobe Apps | Glyphs ?