Search Unity

Local WebGL build on Firefox v68.0.1 for Windows 10 not working

Discussion in 'Web' started by mattbrandmm, Jul 25, 2019.

  1. mattbrandmm

    mattbrandmm

    Joined:
    Jun 5, 2018
    Posts:
    90
    I get this message when running a local build in Firefox:

    "It seems your browser does not support running Unity WebGL content from file:// urls. Please upload it to an http server, or try a different browser."

    I have gotten that on Chrome for a long time now, but have not seen it in Firefox until just now. Also my co-worker can run a local build on Firefox in Mac OS.

    Am I doing something wrong, or is that how it is for Windows 10 now?
     
  2. Zyrathius

    Zyrathius

    Joined:
    Dec 18, 2012
    Posts:
    20
    I ran into this the other day. Worked one day and stopped the next. I had to look up a setting and change it. Try typing "about:config" in the url bar and then scroll down to "security.fileuri.strict_origin_policy" and change to "false". This enabled me to run it locally again. Hope that helps you as well.
     
  3. doctorpangloss

    doctorpangloss

    Joined:
    Feb 20, 2013
    Posts:
    270
    You can't serve from file:// URLs anymore. Every browser on every platform is going to have this restriction if it doesn't already.
     
    mattbrandmm likes this.