Immediate mode arcs not rendering in standalone build
Arcs drawn in immediate mode work in the editor, but not in standalone builds when there is a Shapes component in a canvas in the scene. I tried disabling shader stripping in the project settings and disabling immediate mode instancing in the Shapes settings, but the problem still happens.
Here's a sample project that demonstrates the problem. If you make a build as is with SampleScene, it should not display any arcs. But, if you remove the UICanvas from the scene and try again, you should see the visualization.
I've now spent some time trying to work around this in our project, and it appears that the canvas was a red herring, and it was only the Line component that was interfering. I tried removing all Shapes components from our scenes and seeing if the immediate mode rendering would work in a standalone build, but it didn't. But, if I put a single Polyline back inside a canvas in the scene, the immediate mode arcs would work. If I put a single Line in that same canvas with the Poliline, the arcs once again don't render. It gets more confusing, because it doesn't seem to be 100% consistent. If I then remove the object with the single Polyline, the arcs still show up in the build. So it seems like it should be related to Unity stripping something out in some cases, but I can't quite make sense of it yet.