Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Websocket connect in build webgl but not connect in play mode Unity

Discussion in 'Unity Transport' started by jeffzataa2018, Jul 9, 2022.

  1. jeffzataa2018

    jeffzataa2018

    Joined:
    May 15, 2022
    Posts:
    1
    I'm having trouble connecting to the websocket with Unity, the problem is that in the build version, the connection is made normally together with the exchange of information, but in Unity's play mode, the error is returned (Connection is closed by Abnormal) even when connection arriving at the server.

    Browser Okay
    upload_2022-7-8_23-29-43.png

    Unity:
    upload_2022-7-8_23-29-24.png