Search Unity

How to upload my webplayer to my server?

Discussion in 'Scripting' started by schetty, Apr 23, 2014.

  1. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Hi,

    I have done my webplayer game. I need to upload it on my server, everything works fine in my local host. But i dont know how to upload it to the webserver. The thing is i am using the AssetServer to load my object object dynamically.

    So what can i do to load my object from web server. How should i give the link to my script?

    If i give like this will it work?
    http://www.mydomain.com/asserserver.bundle.unity3d

    Please help me to do this its very urgent.

    Thanks.
     
  2. Patico

    Patico

    Joined:
    May 21, 2013
    Posts:
    886
    I think not. When you build a web application in Unity Editor, you get couple of files - one of them is a game (it has a .unity3d extension), another one is html file, then contains all scripts what you need to run it in the web. You just need to ulpoad these two files to your web-server and use link to html file.
     
  3. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    and we are getting two more js scripting file know, what i do that two script files?