![](https://cdn.userecho.com/characters/122.png?1)
Can realVirtual built for web
When I choose the WebGl plat for build my unity projects which use realVirtual-io tool, the system has the follow error:
"Assets\realvirtual\private\Interfaces\SharedMemory\Editor\SharedMemoryInterfaceEditor.cs(9,26): error CS0246: The type or namespace name 'SharedMemoryInterface' could not be found (are you missing a using directive or an assembly reference?)"。
Antwort
![](/s/cache/9c/03/9c0351d08c5d88f9c079df7cae6a843e.png)
Hi,
it seems that you are using an old version. This issue has been solved. Some interfaces need to be deactivated before compiling because they are using functions which are not available in WebGL.
You should upgrade to the latest version or delete the interfaces (the full folder of it) which are not supported in WebGL. You can check the table on this page here: https://doc.realvirtual.io/advanced-topics/supported-platforms
![](https://cdn.userecho.com/characters/122.png?1)
Thank you very much for your answer. There is another question after reading the page you just recommened.
When my project of digital twins built for web, does it means that the opcUA or modbus function would lost?
If that is true ,my project would not work at all because there is no any communication with hardware.Is my understanding correct?
![](/s/cache/9c/03/9c0351d08c5d88f9c079df7cae6a843e.png)
It is technically impossible to communicate with Webbrowsers with non Websocket based protocols - which is the case for most of the industrial plcs protocols. There is no way making OPCUA communication directly working with a WebGL application.
![](https://cdn.userecho.com/characters/122.png?1)
So the realvirtual.io project build for webGL can just use for web animation?How can I deploy my twin projects on the web while communicating with actual hardware.Thanks a lot.
![](/s/cache/9c/03/9c0351d08c5d88f9c079df7cae6a843e.png)
If you want to connect it with hardware you need to use a websocket based protocol. For Beckhoff PLCs you could use Twincat HMI (https://doc.realvirtual.io/components-and-scripts/interfaces/twincat-hmi) or you could use MQTT (which is also working over websocket: https://doc.realvirtual.io/components-and-scripts/interfaces/mqtt) or what we will release in the next 2 weeks is our own standard Websocket protocol (https://doc.realvirtual.io/components-and-scripts/interfaces/websocket).
Customer support service by UserEcho
Hi,
it seems that you are using an old version. This issue has been solved. Some interfaces need to be deactivated before compiling because they are using functions which are not available in WebGL.
You should upgrade to the latest version or delete the interfaces (the full folder of it) which are not supported in WebGL. You can check the table on this page here: https://doc.realvirtual.io/advanced-topics/supported-platforms