I made a multiplayer game using Unity and exporting it with WebGL I’ve ran into an issue. Requests to my remote server blocked by Cors in browser.
access to fetch at 'https://*myhost*/launch' from origin 'http://localhost:63159' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
When game is exported with desktop profile it works just as intended.