Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

I got this error while playing my game in webgl.

Discussion in 'Web' started by Avivyouker, Mar 28, 2021.

  1. Avivyouker

    Avivyouker

    Joined:
    Aug 5, 2020
    Posts:
    14
    Im trying to get a webgl Build of my game up, The game does start and play, but in certain scene transitions it crashes and gives me this error message:

    This game is part of a game jam and i have only 5 hours. thanks in advance.
     

    Attached Files:

    • Oof.PNG
      Oof.PNG
      File size:
      17.6 KB
      Views:
      467
  2. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,549
    That won't be enough info to help you resolve the issue. First, you want to check "Development Build" in Build Settings, and in Project Settings->Player->Publishing Settings you want to set "Enable Exceptions" to "Full With Stack Trace", and in Project Settings->Player->Other Settings you want to set your Stack Traces to Full. Then open the build in your browser with the Javascript Console open (see Debugging and troubleshooting WebGL builds for more info, or if you haven't seen that page before).

    Edit: Also check "Debug Symbols" in Project Settings->Player->Publishing Settings.
     
    Kurt-Dekker and mgear like this.