Hi Unity developers,
I am starting this post because I have a problem with the WEBGL connection to a websocket server. In principle in play mode I am reading the values in a LineChart, so the websocket client is working and plotting the data. However, when I create the build it seems that I am not receiving the data. In fact, I get the following error:
Could you help me to solve the problem?
Thank you!
Lucia.
Try building with full exception support enabled to hopefully get more details in the console. This is in Player Settings, closer to the bottom than top.
Thank you for the response.
I include here the new message (after activated Enable exceptions: Full with Stracktrace)
In Unity Engine I am receiving the following message:
The string received is (number1, number2), in principle in Unity I can display the numbers, but in webgl no.
Finally, we solved the problem, it was a matter of the format that we were sending from the websocket server. It should be a string, not a encode string. Receiving a string, it works correctly.
1 Like