Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

WebGL Build publish on website

Discussion in 'Unity 5 Pre-order Beta' started by Victor_Kallai, Oct 30, 2014.

  1. Victor_Kallai

    Victor_Kallai

    Joined:
    Mar 5, 2014
    Posts:
    123
    I've made a simple project demo with Unity5 and exported it for WebGL. Then I published the build to a website through FTP, but it is not working: http://kallaivictor.webuda.com/. Do I need do do something special? Please help.
     
  2. RalphH

    RalphH

    Administrator

    Joined:
    Dec 22, 2011
    Posts:
    592
    It seems to me you only uploaded the index.html file. Depending on how your server is setup, you need to upload either the Data or Compressed folder (to use compression you need to have your webserver configured to do so and use / modify the .htaccess file that is also in the builds folder).
     
  3. Victor_Kallai

    Victor_Kallai

    Joined:
    Mar 5, 2014
    Posts:
    123
    I've also uploaded the Data, the Compressed folder and I've replaced the original .htaccess with the one generated from the build
     
  4. RalphH

    RalphH

    Administrator

    Joined:
    Dec 22, 2011
    Posts:
    592