I am using photon unity networking right now to make a multiplayer game. When I publish to windows the build works fine, but when I change unitys build settings from windows to webgl it gives my a invaliduriexception. It also does not work when I publish it to webgl. I tried looking for a answer on google but it does not seem like anyone else has had this problem.
Edit
Okay I just realized that it will work if I am set up to use the photon cloud. I am running my own server so how would I be able to connect to my server using unitys webgl publish