Open KellanHiggins opened 8 years ago
I've added a pull request for this issue.
Thanks @RobertButterworth! I am not that familiar with how pull requests work on Github. I don't see a notification that a pull request has come in.
Also does your solution work in Unity 5.1.2?
Pull request is in. As for Unity 5.1.2 I'm not sure. I'm currently on 5.3.
Great, I'll check it out on 5.3. May add some conditionals if it doesn't work on 5.1.2.
What are you using the tool for?
I have written a Prefab extractor. You can select some mesh that is part of a larger mesh and have it automatically create a new FBX and Prefab for it. For it to work for us we need to not create any new materials and use the global set.
Awesome! Sorry I haven't got around to reviewing your pull, been super busy!
When an object is copied, it is first imported so the asset database can find this material. Unfortunately then it creates a bunch of meshes in the local Materials file, bloating the project.
It is a chicken and the egg problem.
Need to find out how to not import new materials, instead search system wide for the materials BEFORE the model that is being imported automatically generates a material folder.
A work around is to delete the newly created material folder and reimport the file as is. Then the materials will load correctly. This is just annoying.