Help on Preserving Colors When Converting Unions to Meshes

I have some unions with multiple colors that I want to convert to meshes. The problem is that when I convert them, all the colors merge into one. I haven’t tried any solutions yet, so I’m open to ideas on how to work around this.

I’ve been using Studio for eight years, and now I’ve decided to convert my unions to meshes due to a corruption issue I encountered a few days ago.

image
image

2 Likes

Hey, thanks for reporting this. Am I correct in assuming you converting the union to mesh by exporting and reimporting it as an obj?

Yes

image

On the Left is the raw Union untouched whilst on the right is the Mesh I’ve just imported. Notice how I can’t change the Mesh into two different colors like how my Union is. (Left)

When importing obj. files, they only contain geometrical information so no color data gets saved.

There are a few ways to get around this but likely the easiest would be to separate your Union, select all of the parts that are the same color, and export those (in this case, 2 different unions) to convert them into Meshes.
This is a valid solution if you’re using built-in Roblox Materials, so you could recolor those 2 separate Meshes once imported back.

Alternatively if you’re exporting your Unions into Blender to optimize them, you can use Vertex Colors.
There’s a guide on the devforum here explaining what they’re for and how to use them: Vertex Colored Meshes using Blender and Studio
Using the above method will also only leave you with 1 Mesh with different colors as opposed to the previous method which gives you 2 different Meshes with differing colors.

You can also use a Custom Texture if you wish for it to stay as a single Mesh (and for some reason aren’t willing to use Vertex Colors, which are also lighter performance-wise in comparison to a Custom Texture, the difference being that Vertex Colors are limited to the basic colorwheel).

If you don’t want to fiddle around in Blender too much I suggest the first method, so for example you’d have this result:

image

(I didn’t include the inside but you get the idea)

1 Like