-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USD Contribution Workflow: Enable asset contributions to write AYON Entity URIs #754
USD Contribution Workflow: Enable asset contributions to write AYON Entity URIs #754
Conversation
I believe the current logic breaks the publisher's versioning. Here is what happens and what I think should happen. I believe every URI should use a version if not explicitly stated. This way, usdAsset v001 will be an accurate representation of how the asset looked at the time of Publish. I even believe there might be a value to "Resolve" =latest to the current newest version on publish if you're contributing inside of an asset (this I'm not sure of) |
@Lypsolon could you try again? It should now write the AYON URI with the version numbers in them. I do wonder though if there are edge cases where By the way, if you perform a "Review" on Github and "submit the review" it allows me to just re-request a review instead of having to comment and tag. Maybe that's nicer workflow? Let me know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mentioned that you made changes to the way the URI is constructed.
My testing might be a bit messed up I was playing around with the system while having the Use AYON Entitiy URI
button Off and enabled it when publishing version 2 of my look. (if this is UB, tell me, and I will test again)
But what I noticed is.
The ayon_uri in the customData has the proper version set, but the actual reference dose still uses the latest
. I am not sure why
variantSet "look" = {
"Main" (
prepend references = [
@ayon://Usd_Base//testRoyJul29/char_gul?product=lookMain&version=latest&representation=usd@ (
customData = {
int ayon_order = 300
string ayon_uri = "ayon://Usd_Base//testRoyJul29/char_gul?product=lookMain&version=2&representation=usd"
}
)
]
) {
}
}
}
Interesting case - but I've tried it now, on my end, with some clean assets trying to break it in a similar manner.. but so far have been unable to reproduce and that paths all turned out versioned. I think we're best off considering this a valid first version - it does what it should - and if we encounter edge cases hopefully by that time we know how to reproduce it exactly and we can tackle it as a dedicated edge case. So I've re-requested review from you, but do let me know if you still have issues with approving this. |
…tings do not exist (e.g. dev mode using older addon on server in bundle) that it still runs backwards compatible and has this disabled by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i re tested this pr and it works.
i will mark tho: we need to get those things programmatic tested. the current strategy is okay for QA but other than that its more hope hand testing.
Yup - it's not just here, but around the full scope of AYON addons really. |
Changelog Description
Enable the writing of Ayon Entity URIs for asset/shot contribution workflows for the AYON USD resolver to resolve.
Additional info
Must be tested using the AYON USD Resolver
TODO
Testing notes:
use_ayon_entity_uri
Entity URI in settings.