Thanks for your answers guys!
“Hey Sune, what version of Mobu and what are they breaking”
We’re on version 2011 advantage pack sp1 + hotfix.
The stuff that breaks is mainly in relation constraints. It either happens as soon as you apply you namespace and then reload your asset or once you start having multiple assets of the same type in a scene (say Char A and B). Some examples:
- After applying a namespace to an asset, connections in relation constraints are simply missing upon re-load of the scene.
- Relation constraints stop evaluating correctly, even though the connections are still there.
- Namespaces swap place (say what?)… Say you have Char A in your scene. It has some nodes in the “char_a:export:” namespace. Now you bring Char B in which has similar namespaces “char_b:export:”. Now suddenly the namespaces in Char A have changed their order so it’s now “export:char_a:”.
*MotionBuilder does not seem to propperly flush it’s namespaces between scene loads.
“Honestly, I have found namespaces to be quite important to many workflows and tools. The fact that they are native to Maya and Mobu is fantastic.”
Agree, namespaces are awesome… Until they break down and become equally un-awsome
“Do they occur upon import or load from existing assets or reloading a file? Are namespaces getting changed underneath of you or are artists renaming them manually?”
As a tech artist I would usually apply the namespace to my asset before publishing it. This is done by either applying the namespace explicitely to a bunch of nodes or by applying the namespace on a scene load and the re-saving. I’ve tested it and the issues seem to be there no matter what approach I use
“However, such as the case with relying on anything with purely names, can be quite catastrophic if not managed properly.”
Yeah, I’m considering ditching namespaces completely and relying on “asset nodes” with connections (property references) to the components in my scene that a given assets is made up off (Jason Schleifer style). Then maybe using prefixes instead of namespace and having a custom “asset” loader to handle any name clashing.
The upside to doing this would be that each component could be tagged with it’s original name and that you could always find the right nodes through code, regardles of renaming issues. But other that that, it would just me doing a large amount of work to compensate for broken software
Any additional thoughts or insights would be greatly appreciated.
Thanks