Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Game does not do anything using public folder

Discussion in 'WebGL' started by Sir_Moodz, Mar 13, 2018.

  1. Sir_Moodz

    Sir_Moodz

    Joined:
    Oct 2, 2017
    Posts:
    2
    I am using the public folder of pCloud to store my build folder but when I add the html it does not run. I am using a website of Wix or sitey.
    Any logo's and icons are loading. The unityweb files are set to application / octet-stream and the .js to application / javascript.
    I changed the paths in the index to the public folder.

    At this point I don't know what else could be wrong.
     
  2. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    367
    Maybe you can share the link of your page?
     
  3. Sir_Moodz

    Sir_Moodz

    Joined:
    Oct 2, 2017
    Posts:
    2
    Last edited: Mar 13, 2018
  4. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    367
    I don't know how you host your game but :

    From http://www.promoconcepts.be/gametest , we can see on the console :

    This page : http://www-promoconcepts-be.filesusr.com/html/5f82d0_258e9c6b7e097655726432be14ae033a.html
    Give us the same error.

    We can see your content here https://filedn.com/lGk9pKKzWtySTkrIvuN7CEj/ , so first, try to upload you index.html also on your pCloud and try https://filedn.com/lGk9pKKzWtySTkrIvuN7CEj/index.htm in a first time.
     
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,796
    It's cross-domain scripting protection kicking in. You might find some solutions if you search for those keywords. Basically the aforementioned header needs to be present, perhaps multiple times, to whitelist other domains for your scripts/data/cookies.