0
Not a bug

Reading a NULL value causes disconnection

Ege 8 months ago in OPCUA4Unity updated by Support 8 months ago 2

Hello,

Every time a node I'm subscribed to is read as null, the client disconnects. The type of the node I'm trying to read is a float if that matters.

OPCUA Interface - Subscription with ClientHandle 78 Value Changed ns=2;s=NodeA Value [25,1]
OPCUA Interface - Subscription with ClientHandle 80 Value Changed ns=2;s=NodeB Value [140305,5]
OPCUA Interface - Subscription with ClientHandle 80 Value Changed ns=2;s=NodeB Value [140207,5]

OPCUA Interface - Subscription with ClientHandle 88 Value Changed ns=2;s=NodeC Value [NULL]

OPCUA Interface - Client Disconnected

This happens with any node, whenever a value is written as [NULL]

Any help would be appreciated about how to make it so that the program doesn't crash.

Thank you.

Under review

We will need to check this. Can you send the full log - do you know in which line of code it is crashing?