Your comments

The write function is not working in your scene either: the following error gets thrown

NullReferenceException: Object reference not set to an instance of an object
game4automation.PLCInputFloat.SetValue (System.Object value) (at Assets/game4automation/private/Interfaces/PLCInputFloat.cs:81)
game4automation.OPCUA_Node.UpdatePLCSignal () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Node.cs:180)
game4automation.OPCUA_Node.Start () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Node.cs:283)




Btw I did opc running on my VRheadset, but the oculus quest uses android not windows. but i noticed that after switching my target environment, the "PLC Output float" and "PLC Input Float" scripts was removed from imported OPC signals.


I forgot to mention that i can write OPC UA value using the direct method show in the documention :

Interface.WriteNodeValue("ns=2;s=Channel1.Device1.W1 Set", Value);

I do have a relative simple scene to test with if that is what you mean, but I am using kepware to create the OPC UA server, which I have only created 3 tags on, all of which are read/write.


I have tested that i can write to these tags using siemens OPC scout and simit.


Btw I saw that the OPC Interface have some issues working on hololenses, does it function correctly on VR headsets such as the oculus rift and quest?

hey Thomas


Thanks for rapid feedback, my build is now talking with Simit.

I do a followup questions though, the project I am working involves CAD models, for the prototype the demo version of pixyz was used to import the model, however we wanted to test CADlink model import functionality, does models imported by CADlink depend on assets in the folder?


Regards,

DAT