Custom TK engine name error

I noticed that custom TK engines that are using the “shotgun” type descriptor (stored in ShotGrid) aren’t getting the right engine name when pulled into the config. However, they do get the right name if using the “dev” descriptor type (stored locally). Using the “name” key on the descriptor doesn’t fix the issue. This is effectively breaking the hook call on the workfiles2 app (image below)

Example: forked tk-maya engine - Note the “Engine” name below

Shotgun descriptor (in Maya):

{‘Engine’: ‘CustomNonProjectEntity01_595’, ‘Engine Version’: ‘v7742’, ‘Host App Version’: u’2018.7’, ‘Host App’: u’Maya’}

Dev descriptor (in Maya):
{‘Engine’: ‘tk-maya’, ‘Engine Version’: ‘local’, ‘Host App Version’: u’2018.7’, ‘Host App’: u’Maya’}

2021-11-12_10-54-16

Anyone come across this before and know how to fix it? Seems like a bug to me.

Yea I posted it some time back along with a pull request that fixes it. I’ll dig it out when I have a chance.

It’s in this thread Names for apps/frameworks specified via shotgun descriptors

Thanks for the quick reply and confirming the issue @Patrick. I’ll have a look at putting the fix into our core. Have a great weekend!