- Home /
Prevent auto Renaming on import
Hi Community,
I face an issue with Unity5 when I import a file, for instance a c4d file, containing all the info I need (mesh and positions), with a specific structure and a naming convention, in the hierarchy.
Unity renames every assets by adding numbers behind. This is really annoying, and time consuming, to re-rename everything to have everything to work nicely as its supposed to be.
Is there a way to prevent that auto-renaming?
Thank you!
Answer by dhandley · Jul 16, 2015 at 03:16 PM
I'm having the same problem when importing a unitypackage. There's also the issue that if you delete the original so that you can rename the new asset your game objects will, understandably, lose their references to the object.
The only workaround I found is to write a script outside of Unity which deletes the old files and renames the new ones. When switching back to Unity, it'll simply treat it as an updated asset and re-import.
I don't think this is a good solution though, just a messy workaround. I hope someone has a better solution.
Your answer
Follow this Question
Related Questions
Select asset for rename 2 Answers
Duplicating whole game as different version and renaming it 1 Answer
Remove (clone) from Instantiated Gameobjects name 2 Answers
Changing a prefab's name (via the editor) doesn't apply the new name to the prefab's instances? 1 Answer
My Raycast on awake fires and will not change Help! 0 Answers