@Shehzan_Mohammed As promised on our meeting, I will describe here our experience with trying to enable Cesium for WebGL.
We use a customized version of the Cesium 1.20 package to create the WebGL build on our CI server. We have applied that change to make it possible to build with WebGL target from our Linux server.
As a first step, we enabled C++ Multithreading support for WebGL in the Unity project, as the WebGL build fails otherwise.
Next, we configured our server to use the needed COEP / CORP / COOP headers to make C++ multithreading possible. This was not enough, as we were including some external javascript in our index page, and these were failing to load because of the COEP. This was solved by adding the crossorigin="anonymous" attribute within the script tag.
But our app still fails to load. More specifically, it tries to load the url https://ourserver.com/undefined, but fails. That is a resource that was not being fetched before these changes, and we are still trying to figure out why that happens. From that ‘undefined’, it seems that the url was formed from an undefined javascript variable.
I will update here further if I have more information.