I’m getting an odd situation where I’ve added a constrain_by_entity yml file to the filesystem schema. It is working as advertised, but the yml file itself is also being copied into the filesystem. The contents of the file are:
I think I’ve worked it out. If anyone else is hitting this problem I had the yml file in the schema but not the template folder. It seems that, in this situation, Shotgun processes the yml file and then copies it to the file system. I assume there’s some logic in the folder creation hook which tells Shotgun not to copy the file if there’s a folder of the same name.