Search Unity

WebGL - XAMPP Local setup not working

Discussion in 'Documentation' started by amrullakhan, Sep 14, 2020.

  1. amrullakhan

    amrullakhan

    Joined:
    Oct 28, 2017
    Posts:
    5
    I have built successfully my project for webgl and it si running file when Unity creates a server and opens it automatically in Brower on build completion. But when I try to run via XAMPP locally, it is failing to run.

    I have already set up XAMPP for gzip compatible.
    upload_2020-9-14_11-57-19.png
    upload_2020-9-14_11-56-28.png
    upload_2020-9-14_11-56-1.png

    And on requesting webpage, response headers are set to gzip.
    upload_2020-9-14_11-58-14.png

    Yet, getting below errors.
    upload_2020-9-14_11-58-42.png
    Please need a solution.

    Followed manual at https://docs.unity3d.com/2020.1/Documentation/Manual/webgl-deploying.html