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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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