Hi,
I was using Polybrush to vertex paint HDRP layeredlit materials and everything worked ok, the only issue was that right mouse click painted on the mesh (annoying, 'cause you want to rotate the view to paint somewhere else, but it kept painting unwanted strokes). So, I’ve noticed Polybrush and Probuilder had updates and as soon as I installed them, modified probuilder meshes started exploding as soon as I move the cursor on them to try vertex paint.
On the test project:
https://i.gyazo.com/3395888386e72e11febcfd279939223b.gif
On a brand new project:
https://i.gyazo.com/9f41cc1943de98481ec9ee094cb4c9ee.gif
Console gives those errors back:
Repro:
- Create brand new 2022.2.15 HDRP project
- Install Polybrush 1.1.4 and Probuilder 5.0.7
- Create a Probuilder Cube and perform a “Insert Edge loop” command to add a subdivision
- Try to vertex paint it with Polybrush causes it to explode
It seems it only happens when edge loops are inserted, if geometry is left untouched vertex painting works as expected.
EDIT: Also, as the errors reported uv problems, I’ve tried to modify the uvs of the new geometry by hand in Probuilder UV editor and THEN the exploding mesh problem seems to go away
EDIT2: nope, it temporarely fixes it but if paint some other object and then paint the original object again it explodes anyway