-
Notifications
You must be signed in to change notification settings - Fork 202
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
[MAYA-111092] Reference USD not using namespaces #1307
Comments
Hello @ghostvfx-jimmy, I gave this a try on my end and I was not able to reproduce the issue you are seeing. When I follow those same steps and use the namespace option to use the file name, I see a namespace created with the file name. If I use the option for a string, it uses the string I specify. In both instances I can open the Namespace Editor and verify that a new namespace is created. |
Yes, the namespace is created but the objects within the reference is not using the namespace. Eg.: Also even if the namespace is created, using the namespace editor > Select Content doesn't work for the USD reference. |
@ghostvfx-jimmy Thank you for clarifying that for me. I definitely see the issue now. I will mark this issue as reproduced and will review it with the team to see about getting a fix going for it. |
Any updates on this? It's a rather big roadblock for us before we can go all USD.. |
Hi @ghostvfx-jimmy, We have the issue logged internally and scheduled for a fix, but it has not been fixed at this point. |
hi @santosd any update on this issue? It's a quite big show stopper. Would love to see that fixed :) |
Hello @Xaia, This issue is still in our backlog and has not been fixed internally. I will bring it up to the team to let them know that this is a showstopper for you so that we can set it at a higher priority. |
Hi @Xaia there was a change that went in recently that seems to have fixed this issue on my end. Would you be able to build the latest and test again? Otherwise we can wait until the next release and you can test at that point to see if it is working for you |
I hate to break it to you, but the clip actually shows the bug. The issue is not wether or not it's getting a reference group, but the fact that the referenced geometry is not assigned a namespace prefix. This means that a second import will change the name of the object (adding a suffix). So instead of just being named |
Hi @ghostvfx-jimmy, I do see that. It looks like there was a little more support added for namespaces but we are not fully there yet. The ticket we have logged internally remains open and we will be taking a look at the issue. |
Any progress on this issue? It's a big roadblock moving forward with USD in Maya. |
Hi @jacobvfx, |
Hello @jacobvfx, @Xaia, @ghostvfx-jimmy. Bug is fixed here: We are concerned that some users of maya-usd import are actually relying on the bug, and assuming imported nodes won't be in a namespace. Of course, these users should actually fix their code and not ask for namespace support, but we want to make sure we aren't disruptive in fixing this bug, and don't require mitigating measures e.g. like an environment variable to preserve the legacy (buggy) behavior. My personal preference is to do this cleanly, fix the bug, adjust the broken tests, which is what I have done, and I hope that maya-usd users will do the same. Is this a reasonable way to proceed? Your opinions quite welcome. |
I agree in fixing cleanly and not worry about users that rely on the code bug. Just make sure the change is mentioned in the release notes. It’s an in alpha for a reason. |
Hi, @ppt-adsk I also agree that being these versions are still in development any integration can assume these types of bug fixes. And users that are actually relying on the bug, and assuming imported nodes won't be in a namespace can easily have their wanted behaviour back as long as they are informed of the change so they can react. I think that it would be completely inconsistent to do this in a different way (environment variables, making the default being not namespace, or whatever this might be that is not matching the normal behaviour for all the other formats). My 2 cents. |
Merged to dev branch here: |
based on the comments above and the commits, i believe this can now be closed. feel free to reopen/log a new issue if there are problems with this still. |
Describe the bug
When creating a USD reference, namespaces are not applied.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
When creating a reference with "Use namespaces" enabled, it's expected that it's with namespace.
Specs (if applicable):
The text was updated successfully, but these errors were encountered: