Multiple discs wont draw in an Immediate Mode loop
I'm using Shapes Immediate Mode in URP to draw polygons and draw discs on the points of those polygons. In Unity 2020.3.10 this functionality worked, but my team has updated to 2021.1.10 and now only the first point in a shape gets its disc drawn - adding any more shapes causes no discs at all to be drawn. I've tested with different color and alpha values and the result is the same.
I've also debugged out all of my data so there are multiple points there to be drawn when I'm expecting it to, so I think it's something to do with Shapes and the latest version of URP.
Also, multiple Polygon shapes are drawn flawlessly - it just seems to be these specific looped discs.
Here's the logic:
Thanks in advance for any support, and thanks for making an amazing tool!
It might be worth deleting the shader cache in the Library/ folder, or do a full clean reinstall when this happens. some people have reported that this makes it work for them, so it's worth a try!
https://shapes.userecho.com/en/knowledge-bases/2/articles/383-when-shapes-doesnt-render-in-builds