Check you haven't got any code that only runs when your on local. I.e. IF DEBUG or the environment is set Development in conjunction with SearchClient.Instance.Conventions.UnifiedSearchRegistry .Add<Document>()...or whatever class is represented by your document.
In my code I usiing unified search like this
For testing I have added hardcoded text in my index which is