I am trying to Connect to a OPC Server using Unity as client.
Has any experience with this?
My problem is that all the .NET OPC client Toolkits or SDK´s out there is either using .NET 4.0, running unmanaged code or using COM/DCOM.
I am trying to Connect to a OPC Server using Unity as client.
Has any experience with this?
My problem is that all the .NET OPC client Toolkits or SDK´s out there is either using .NET 4.0, running unmanaged code or using COM/DCOM.
We ended up building a bridge (using python) that runs as a separate application and communicates with unity via osc or tcp
If anybody has found a workable solution, paid or not, for reading (and writing) from an OPC server directly from (and to) Unity I would very much like to hear it!
So not through some separate application or tunnelling mechanism.
We also ended up to write a TCP bridge for several reason:
So we have developped a simple TCP bridge between Unity and the OPC server. We used the very easy to use OPCDANET library from Advosol (sorry for the ad but the question refers to an eventual paid solution).
Hope it helps
Hi @feranti !
I’m doing the same thing. Trying to acces to OPC server ( running on VM) From Unity3D.
Can you please explain me how did you developped your TCP bridge ?
Many Thanks,
Haithem
I tried using the code from this source GitHub - RobinFischer/OPC-UA_Unity: Unity Project of an OPC UA Sample Client. Designed to be used with a Microsoft HoloLens , still no luck trying to connect to the OPC UA server.