SpriteShapes not displaying for WebGl

I am using the 2D project template. I have created a little program using the Sprite Shapes and am moving them around.
When I press Play, the objects show up in the Game view. But when I Build and Run (or publish) as a WebGL build, they don;t show up at all. (Normal sprites will display, just not SpriteShapes).
The SpriteShapes are simple rectangles with a plain colour.

Figured it out!

SpriteShapes by themselves won’t show up in builds. To use them, one needs to create a ‘Sprite Shape Profile’ object (which I had not done, hence the failure), and set it up so that each part of the sprite shape will have different sprites associated with it.

https://forum.unity.com/threads/solved-sprite-shape-not-rendering-at-android-build.859222/
https://docs.unity3d.com/Packages/com.unity.2d.spriteshape@5.1/manual/index.html

An alternative is to use the Sprite Creator to make some default sprites.