- Home /
Vertex colors are being stripped after build
First of all, my meshes have assigned vertex colors from external software, and the only thing that doesn't work is loading vertex colors. Vertices and everything load correctly.
I am loading my mesh using "Resources.Load". It works in editor, but after build "mesh.GetColors" returns empty list of colors.
Is unity stripping my vertex colors? How can I prevent it?
*Happens both in il2cpp and mono build
Answer by Bunny83 · Jul 05, 2019 at 09:14 AM
Is your mesh actually marked as Read / Wite enabled? If it is it might be related to the "Optimize Mesh" setting.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Algorithm for automatic mesh creation 1 Answer
Mesh bounds not updating size of mesh? 1 Answer
Converting a mesh to terrain 2 Answers