Search Unity

WebGL no console output on Edge

Discussion in 'Web' started by BrixtonDynamics, Mar 29, 2017.

  1. BrixtonDynamics

    BrixtonDynamics

    Joined:
    May 30, 2013
    Posts:
    76
    My WebGL app works fine on Chrome, Firefox and Edge. However, in Edge I cannot see anything in the console output (F12) pane. The app is printing out my debug.logs as expected in Chrome and Firefox. Any ideas how I could get the debug logs to show in Edge?
    I'm running windows 10.

    TIA
     
    Last edited: Mar 29, 2017
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Edge console is tricky. It doesn't log anything when it is closed (like the others do) and when it is enabled and you reload it also disables asm.js support which is very unfortunate.

    If you need to debug non-Edge specific things I recommend sticking to FF or Chrome.
     
  3. kognito1

    kognito1

    Joined:
    Apr 7, 2015
    Posts:
    331
    You can disable the debugger (which is what disables asm.js) on Edge.

    Basically navigate and load your webgl application, open the console, disable the debugger (under the Debugger tab), and then refresh the page.
     
    Schubkraft likes this.