I seem to have a related issue her, which actually breaks our workflow completely in the 1.2.6.
I have a collector that runs on an instance and context. It’s offset to the end of collectors queue to make sure instances already exists. It adds data to the instances based on their families or task type we’re in.
After the update it shows among the collectors, however it doesn’t run, hence much needed data doesn’t get attached to the instances. It’s a simple plugin that can be distilled to this
""" Adds ftrack asset information to the instance
order = pyblish.api.Collector.order + 0.41
label = 'Asset Attributes'
def process(self, instance, context):
# skipping instance if ftrackData isn't present
if not context.has_data('ftrackData'):
self.log.info('No ftrackData present. Skipping this instance')
# skipping instance if ftrackComponents isn't present
if not instance.has_data('ftrackComponents'):
self.log.info('No ftrackComponents present. Skipping this instance')
ftrack_data = context.data['ftrackData'].copy()
instance.data['ftrackAssetName'] = ftrack_data['Task']['name']
task_type = ftrack_data['Task']['type'].lower()
# task type filtering
if task_type == 'lighting':
asset_type = 'render'
if task_type == 'compositing':
asset_type = 'img'
# family filtering
if 'camera' in instance.data['family']:
asset_type = 'cam'
instance.data['ftrackAssetType'] = asset_type
It just shows as white in the collectors whatever I do to it. I tried pulling context directly from instance, but that didn’t work either.