Search Unity

No longer test WebGL with Firefox

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

  1. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    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:
    999
    Great, thank you!
     
  4. De-Panther

    De-Panther

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