Search Unity

Question project opens in local but hang in server

Discussion in 'Web' started by hm_occupe, Mar 17, 2023.

  1. hm_occupe

    hm_occupe

    Joined:
    Jan 20, 2020
    Posts:
    4
    I'm trying to deploy a Unity WebGL game to VPS using an express server. When I run the express server locally, the game runs fine without errors, but when I upload to vps, it freezes after loading the content without showing any errors. I've also tried using a new empty Unity project just to make sure the problem is not linked to my code

    network files upload_2023-3-17_9-26-36.png
    console logs
    upload_2023-3-17_9-27-5.png
     
  2. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    Have you tried clearing the cache?
     
  3. hm_occupe

    hm_occupe

    Joined:
    Jan 20, 2020
    Posts:
    4
    yes first thing I did
     
  4. hm_occupe

    hm_occupe

    Joined:
    Jan 20, 2020
    Posts:
    4
    can it be a problem with the server ? here are the nginx config and express route
    upload_2023-3-17_16-32-37.png

    upload_2023-3-17_16-32-54.png
     
  5. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    It's the browser cache, not the server
     
  6. hm_occupe

    hm_occupe

    Joined:
    Jan 20, 2020
    Posts:
    4
    I cleared cache , tried different browsers even different devices all with the same result