Jump to content
  • Advertisement
ethancodes

Texture/Material issue in Unity

Recommended Posts

So, bear with me here as I am fairly new to 3D development. I recently imported a model from 3ds max into Unity. Works great, looks great. Made a few changes, and tried to bring it in, and made a mess of everything. lol. What is the best way to bring in an updated model/textures/materials without having to just delete the old one and reconnect all the references over and over again? For example, I have the model in my hierarchy and there are about 60 components to it. Each of those components links to a check on an inspection for the game. If I do it the hard way, I can just delete the old model and textures and materials, and bring in the new one the same way I brought in the old one. But then I have to re-reference all those parts. Surely there is an easy/simple way of doing this. I've stumbled my way around and kind of got things to work but then I have multiples of materials (i.e. this material, this material 1, this material 2) and then some of the materials lost their texture references, etc. Thank you so much for any help.

Share this post


Link to post
Share on other sites
Advertisement

If the mesh and materials have the exact same name as the original mesh and materials, then that should simply replace it instead of manually replacing everything.  If that doesn't work, then I guess there is no good way.

Share this post


Link to post
Share on other sites

I guess Unity give textures and materials etc GUID's when they get imported. So if you import it again, it gets a new guid and that does not match with the original and then everything just get's all kinds of screwy. lol.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!