When importing a scene from maya we’ve noticed that objects with duplicate names are getting junk appended to their names. One of the things we’ve been trying to do is move a lot of the level editing Maya side. So if we have an object that needs to play an animation when touched we attach a child object called AnimationTrigger. We have several AnimationTriggers per scene. The first AnimationTrigger comes through just fine but after that all other AnimationTrigger get junk appended to the ends of their names ie. AnimationTrigger_ncl1_2, AnimationTrigger_ncl2_ncl1_2.
At first I thought this might be a Maya issue so I dug through the scene.ma (Maya ascii file) to see how the nodes were parented/created and the names are just how we want them. So we’re starting to think this is something on the Unity side that’s renaming our objects during the import. Is this expected behavior? Is there a way around this? Are we missing anything? We’ve tried importing both the fbx and the .ma with the same results.