Is there any flag for offline rendering?

We don’t know what changed, you haven’t shared any code. Please see Requesting Help and rephrase your question.