Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

No longer test WebGL with Firefox

Discussion in 'WebGL' started by topofsteel, Aug 16, 2019.

  1. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    984
    I can no longer test WebGL with Firefox from my local machine. It now needs to be uploaded to my host. Is there an alternative way to test a WebGL build? Thanks.
     
  2. Logic_Bomb

    Logic_Bomb

    Joined:
    Apr 6, 2017
    Posts:
    16
    @Zyrathius answered this in another thread:

    You can still run it locally in Firefox but you now have to change a setting manually first.
    Type "about:config" in the url bar and then scroll down to "security.fileuri.strict_origin_policy" and change to "false"

    Cheers!
     
    CodePistol likes this.
  3. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    984
    Great, thank you!
     
  4. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    395
    Or, you can install "http-server" for node.js, or Nginx, and run a local server
     
unityunity