OPC UA .NET in UNITY

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
mayenber
Jr. Member
Jr. Member
Posts: 2
Joined: 16 Apr 2013, 11:48

OPC UA .NET in UNITY

Post by mayenber »

Hi,
I want to integrate a OPC UA Client with the C# .NET SDK in a Unity-Project. Unity is a gameengine and allows to use C# code inside. My problem is, that "Mono" the C#-codeeditor in Unity has problems with some references in the "UnifiedAutomation.UaBase.dll". In this dll there are some references to System.* (Windows.Form, Drawing, ServiceProcess, ...), which Unity forbids or not knows. Now my question is, why are these references in the "UnifiedAutomation.UaBase.dll", are they necessary and is it possible get a dll without them?

Best regards

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: OPC UA .NET in UNITY

Post by Support Team »

Hello,

the dependencies are not required by OPC UA itself but are required for some comfort features and some GUI popups needed by the SDK. The minimum requirement is .NET ramework 3.5 SP1. There are currently no plans to support Unity or "Mono" as they do not form the majority of our customer base. There is currently no way to get a dll without the mentioned dependencies. Anyway a change request was put into our system regarding this issue, but has currently low priority.

Best Regards
Support Team

in2sight
Jr. Member
Jr. Member
Posts: 1
Joined: 16 Apr 2019, 21:55

Re: OPC UA .NET in UNITY

Post by in2sight »

Hi, we have an OPC UA solution for Unity now in the Unity Asset Store. You can get it here: https://assetstore.unity.com/packages/slug/143980. More information can be found on our website here: https://game4automation.com/en/

Post Reply