ynput / ayon-maya

Maya addon for AYON
Apache License 2.0
6 stars 6 forks source link

Optional validator for extract layout when users publish it for Unreal #139

Open moonyuet opened 5 hours ago

moonyuet commented 5 hours ago

Is there an existing issue for this?

Please describe the feature you have in mind and explain what the current shortcomings are?

Extract Layout in maya would currently publish the extension of the loaded assets as part of the json elements so that the layout loader from other DCCs such as Unreal would know the extension of the assets loaded in Maya. But this leads to the loading issue in Unreal when the extension of the assets is ma, knowing that Unreal does not support ma import.

How would you imagine the implementation of the feature?

After the internal discussion, we would suggest building the optional validator to check on the extension of the loaded assets before publishing. If the extension of the loaded assets is ma, the validator would block the publish and suggest users using the correct loaded assets(with either abc or fbx) for the layout publish.

Are there any labels you wish to add?

Describe alternatives you've considered:

No response

Additional context:

No response