I’m trying to color my static meshes using vertex painting with random colors and then store it using ScreenCapture2D. However, I’m seeing a weird behavior. The vertex painting is successful, but my capturecamera or the gameclientviewport is not able to see the paints unless I select the mesh in editor.
SO, it’s something like this
This figure shows setup after vertex painting (Note that I’m not able to see any paint)
This shows the same setup after I’ve selected/clicked on few meshes in the editor.
What could be causing this issue? I am not able understand why/how selecting the mesh, shows the paint color.
I’d appreciate any inputs regarding this.