Closed kokizzu closed 5 years ago
This is correct behavior, not a bug. OnMessage runs on a different thread. You can't access anything from Unity's main thread from it. You have to leave received information somewhere in static fields for the main thread to find.
Ah nice, thanks, links for reference: https://stackoverflow.com/a/25271152/1620210
I'm using Unity 2018.2, it's weird to see that the property on editor is correct but textmeshpro not updated only when using websocket's callback (normal event works, ain't working only when using websocket's callback)
minimum code to reproduce