Jobs are getting frozen with error: "Method not found: 'IDnParser DynScripts.Scripts_HKuYTkx5T7dRYqIwfghkrHD4A.VI_GetDNParser(System.String)"

Several jobs which use script 'VI_GetDNParser' are getting frozen in our production environment (only production ) post deployment with above mentioned error. The error gets resolved once we do full DB compilation. 

But can one please suggest if there is existing issue related to this ? and how can we avoid this ?

Thanks in advance.