Unable to resolve template fields after folder creation!

hi there
The Asset substance has a required field sg_asset_type that does not have a value set in ShotGrid
image
Link:https://github.com/diegogarciahuerta/tk-substancedesigner;
And PSCC、3dsMax same error occurred;
I can’t see what in my configuration could be the cause of this. Anywhere I can start searching?

Thanks!

Hi,

By default the asset_root has the sg_asset_type key included.

You may want to change this so it picks that value from ShotGrid.
Change this:

to this:

sg_asset_type:
    type: str
    shotgun_entity_type: Asset
    shotgun_field_name: sg_asset_type

And make sure that you set the corresponding field on ShotGrid to have some valid data.
If you dot want to use that field in your filesystem, then remove it from the asset_root base path.