🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Texture/Material issue in Unity

Started by
6 comments, last by Codemaster Jamal 5 years, 1 month ago

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.

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.

I am an indie game developer who enjoys pixel art games.

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.

I guess you’ll have to import everything manually : (

I am an indie game developer who enjoys pixel art games.

I mean there has to be a better way of doing this. I just need to figure it out. lol. There are way to many references for me to manually reassign them every time a model gets a texture or material change, or a new component added to it. That's just insane. I'm positive there is a better way.

I don’t know of any way, but I’m sure there is.  If you have a budget, then the asset store can help.  Otherwise, I can probably code you a solution.

I am an indie game developer who enjoys pixel art games.

Try removing the old 3D model and then re-importing it. Also, try exporting your 3D model as an .fbx file.

This topic is closed to new replies.

Advertisement