SocketIOUnity icon indicating copy to clipboard operation
SocketIOUnity copied to clipboard

Error on serializing response

Open Hailiebaby16 opened this issue 1 year ago • 5 comments

I'm tryring your sample code and i got this error Severity Code Description Project File Line Suppression State Error CS0012 The type 'JsonElement' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Text.Json, Version=6.0.0.4 and

Severity Code Description Project File Line Suppression State Error CS0411 The type arguments for method 'SocketIOResponse.GetValue<T>(int)' cannot be inferred from the usage. Try specifying the type arguments explicitly from this line of code.

ReceivedText.text += "Received On " + name + " : " + response.GetValue().GetRawText() + "\n";

Hailiebaby16 avatar Mar 08 '23 12:03 Hailiebaby16