Export maya usd failed "object has no attribute 'defaultPrim' "

I’ve tried to publish a simple model to usd, publish got me an error like this, any setting i missed? How to fix it?


Snipaste_2025-01-10_14-32-06

It seems to think there is a previously existing version published - but it can’t seem to find it so it can’t seem to “build on top of it”.

We should definitely capture this better but the question here is - why does it already think there is a publish that it can’t however load from? Did you remove files on disk yourself?

Yes, I did publish this asset, but I deleted the file.

I see - in that case it’s the source of the issue. I must admit it’d be great handle this with better care. So feel free to create an issue on ayon-usd repo.