- Home /
Reimport destroyed .obj file submeshes?
I had a .obj model of a car body I created wth three submeshes and a material for each. After some errors (unrelated to the model) popped up in my assets, I decided to reimport all assets. The errors were fixed, however, the car model's submeshes were destroyed. Instead, all three submeshes were merged into a single mesh that attempted to use three materials at the same time. How can I fix this, and why did it happen?
Pretty sure that's exactly what submeshes are: multiple sets of geometry with a (potentially) different material for each, all part of the same $$anonymous$$esh asset. Do you mean they used to be multiple meshes, each with their own object in the hierarchy?
Sorry for the late reply, the notification got lost in my emails.
Th .obj imported with three submeshes, all under one mesh (so one mesh filter only). Upon reimport, the three submeshes became one mesh attempting to use three materials.
Your answer
Follow this Question
Related Questions
One vertex array per submesh 2 Answers
Import mesh with submeshes from OBJ? 2 Answers
Submesh creation from script 3 Answers
Missing pieces of meshes 1 Answer
What is required from my model for Unity to add a SkinnedMeshRenderer? 1 Answer