I have two nearly identical obj pieces. One arrives with texture. But the other one does not. Somebody an idea what goes on here? I cannot find a difference here.
While at it, shouldn`t a obj file with a normalmap applied not open with a bumped diffuse shader?
… gah … 60 mb limit, but a 5 mb file upload fails … texturesize in the example files reduced.
im not sure what’s “supposed” to happen and im probably not doing it right either but in my experience importing models onto unity usually involves relinking of textures and sometimes reassigning shaders
Tanks arvz. Well, when i import a FBX then usually my texture and normalmap sticks at the mesh. That`s what i suppose here too
Curious with this two obj files is that at one file the texture arrives, and in the other case the texture does not arrive. And the two meshes are nearly identical from what i can say. So my nose tells me that in at least one case something goes wrong here
Unity always makes you fill the texture slots after import. I’m guessing you might have done it for that one particular object and forgot you had done so.
Yeah, that could be an idea, but nope. That`s why i have attached the example files. The one Obj imports with texture applied, the other misses the texture. I´ve checked it more than one time. Question remains, why does it work for the one while it fails for the other
that happens sometimes… but don´t worry, while your uv map is correctly set you only need to assign one more time your texture to the respective material…
Now im curious why this happens. Because that would save me some work. Its a bit cumbersome to find the right texture when you have already more than two or three dozen somehow equal looking textures and corresponding normalmaps in the game. And when we would know the cause then the Unity team could even fix it.
Okay, have it. User error. I have at one point mixed up the texture names in the Obj file it seems. The texture names doesn`t fit to the available textures. So no wonder Unity cannot load them. It was my fault. I feel a bit stupid now
Remains the the bumpmap/normalmap issue. Obj is in general able to im- and export bumpmaps. It would be nice when Unity could import that stuff too
Nope, that wasnt it. At least not only. Its the gap in the folder name. “corridor crosspiece”. When i close the gap in the foldername by an underscore, “corridor_crosspiece” , then Unity imports the texture too. Curious