Search Unity

WebGL build exception on startup in Chrome, no stacktrace?

Discussion in 'Web' started by Yandalf, Jun 24, 2019.

  1. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    Hello!

    I'm currently making a WebGL build of a project, by default without any exception handling this build runs flawlessly on Edge and Firefox, but throws an exception while still in the loadscreen on Chrome.
    When I rebuild with full exception handling with stacktrace, I don't get any mention about the expected exception at all. Anyone have a clue what might be going on here and how I could possibly log the exception somehow?
     
  2. bartofzo

    bartofzo

    Joined:
    Mar 16, 2017
    Posts:
    151
    Do you have a try/catch somewhere? Could be that with exception handling on, the exception get's caught and not logged.
     
  3. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    But wouldn't the exception not be thrown then either way?

    Edit: either way, I've scanned through our code and no try/catches to be found as far as I can tell.
     
    Last edited: Jun 27, 2019