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!
Testing these, Transparent produces the same problem, but I was surprised to see that Opaque causes further issues, where it isn't just calling two of the same Draw.[Shape]s subsequently that won't render, but all my immediate mode shapes aren't rendering (i.e. Line then Cone).
In the editor this is fine, but across Android and Web builds (the only two I'm tested) this is present.
I appreciate the follow up. I'll try pull back the scenario to see if it happens with a simple setup.