When playing in the editor WebSocket connection successful but failed when playing in packaged, why?

Did you find the solution?

I do not remember it.

Just ping me if you rember anything been stuck in this problem from last two days