Hi everyone,
How can I view the UV map and the generated Light Map of an obj or fbx I’ve imported into the editor.? Since I’m pretty new to Unity I was not able to figure this out, I couldn’t find the answer in google either.
I’m using 2019.3.4f1
Hey, Unity actually has an inbuilt UV layout viewer. This is kinda hard to find. Basically you have to expand the model in the project view and select the mesh. Go to the inspector and change the display mode to UV layout. Now, if u have properly created a lightmap, u will see a channel 2 in the list of channels. I am uploading the screenshots so that its gonna make some sense.
I haven’t used it for ages so I’m not sure if it still works in the latest version of Unity. Anyways I’ve written a UVViewer in the past which you can try. Just create a file “UVViewer.cs” in a folder named editor inside your Assets folder. You should be able to open the UVViewer through “Tools → B83 ->UVViewer”. Just select a gameobject with a meshrenderer / skinned mesh renderer in the scene and you should see the UV map. You can select the different UV channels and a lot more.
Currently I don’t have time to check if it still works. If you (or anyone else) got any problems with it, please let me know in a comment.