Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Unexpected token online but not local.

Discussion in 'WebGL' started by nielshenriksen, Nov 14, 2018.

  1. nielshenriksen

    nielshenriksen

    Joined:
    Oct 13, 2010
    Posts:
    41
    When I am running the webgl from Unity its working fine. But when I am uploading it to http://noggs.frostmedia.dk/ it fails with "Unexpected token".

    I didnt change anything when I uploaded the files.
     
  2. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    583
  3. nielshenriksen

    nielshenriksen

    Joined:
    Oct 13, 2010
    Posts:
    41
    Ah thanks :) Now its working