Problems executing WebGL in application

Hello, I’m new to this topic and I’m having quite a few problems with webgl.

My idea is to be able to execute the application from a PLC with Codesys. I have uploaded it to github and from the browser or the mobile I can access it correctly. The problem with the PLC is that I get an error with the script. In the images below, you can see the error and the line from my index.html.

8383602--1105599--upload_2022-8-23_14-53-30.png

Any idea about this problem?

Can you launch google.com in the same way? Or is it just a WebGL app. Can you open a web page from your PLC?

The problem is only with the execution of the WebGL. I can open any web page from the browser.

You mean a browser on the PLC via Codesys, correct?

Can you load some compatibility testing to see if it works? Maybe WebGL is disabled on a browser config level and it’s not a Unity related issue.

https://get.webgl.org/
https://get.webgl.org/webgl2/

Cheers.

My suspicion is that the PLC has disabled script execution (or just does not support it)

I have solved the problem. With the new program version the scripts execute correctly. I was using Codesys V3.5 SP16 and I have solved the problem using the new version SP18 P2.