FBX mesh part has black faces on import

This started happening on June 14.

Everytime i’ve tried to export a mesh from 3ds Max it never appears correctly usually with black faces. I’ve even tried Blender using the same export settings that i’ve been using since 2018 that has always worked for me however that still didn’t work. I have double checked that all the normals are correct and reset, the faces are not inverted and the mesh has been unwrapped properly.

I’ve done some more research into this bug and I have found that the .obj file format works so there must be a problem with the .fbx file format when importing into studio.

Repro

  • Head into any 3d modeling application.
  • Export out an unwrapped 3d model with or without a texture it doesn’t matter using .fbx file format
  • In Studio the mesh will have sections that will appear with the texture and other parts will just be black.

Specs
GPU: NVidia GeForce GTX 1080Ti
CPU: AMD Ryzen 5 3600
OS: Windows 10 Pro


Exported directly out of 3ds Max 2020


(Left) Mesh Part (Right) Same Mesh ID copy pasted into Special Mesh works fine

mesh1.fbx (152.7 KB)

4 Likes

Your model has vertices painted. The APC is painted almost completely black, except for the round turret, cockpit roof, mirrors and some other small details. OBJ format does not support vertex colors, which is why that format fixes it. Likewise, SpecialMeshes/FileMeshes override vertex color with a solid value, whereas MeshParts respect vertex painting.

Go into the vertex painting mode in your editor, and paint everything white and it will fix this issue. Vertex painting is not commonly used by Roblox devs, which is why there are no other reports of this. But it’s not something new since June either, vertex painting has always been supported. I think because your painted vertices are solid black in these examples, it’s multiplying your texture colors with black, so you get just black.

So in this case, this is literally a feature and not a bug. Now, how you got painted vertices without intentionally doing it… that’s something you should figure out :slight_smile:

7 Likes

Of course it was the vertex painting, no idea how that even happened but thank you, I will go ahead and mark your reply as the solution now.

I was having a “similar” problem, except the mesh was only doing this with the Character Importer, not when I imported it as a mesh.

However, this helped. I actually went in and just deleted the vertex color pallet and the problem was solved.