diff --git a/pype/plugins/global/publish/collect_templates.py b/pype/plugins/global/publish/collect_templates.py index 46d2898875..f065b3c246 100644 --- a/pype/plugins/global/publish/collect_templates.py +++ b/pype/plugins/global/publish/collect_templates.py @@ -91,7 +91,7 @@ class CollectTemplates(pyblish.api.InstancePlugin): "representation": "TEMP"} # Add datetime data to template data - datetime_data = context.data.get("datetimeData") or {} + datetime_data = instance.context.data.get("datetimeData") or {} template_data.update(datetime_data) resolution_width = instance.data.get("resolutionWidth")