Just a heads up, there may be problem to build for WebGL in unity 2021.2.6f1, had to install LTS version. For me, the problem was no textures showing in build (Only trail renderers with default-line material)
Oh, well im using 2019.4, I wont upgrade until 2023 lts