Vertex paint material works on unreal default content but not my static meshes

I have a material shader in UE5.5 that uses triplanar projection and vertex painting. It works when i use it on a default cube and i am able to vertex paint on it, but whenever i use it on the modular assets I’ve made myself in Maya and imported into Unreal, it doesnt give me the option to vertex paint them in the mesh paint editor. My assets dont have any non manifold geometry and they’re uv unwrapped. They also have plenty of polygons/vertices to paint on. Why could this be happening?

Figured out the problem. Nanite was automatically enabled for my imported meshes and that’s non-compatible with vertex painting. I just opened my meshes in the static mesh editor and unchecked nanite in the details panel. Hope that helps someone!