Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Prefabbing broke my WebGL

Discussion in 'Web' started by antdx3163, Feb 28, 2023.

  1. antdx3163

    antdx3163

    Joined:
    Dec 3, 2019
    Posts:
    35
    Prefabbing broke my WebGL. Either it was Hierarchy to Prefab then delete or Hierarchy to Prefab, delete, then unpack complete broke it.

    I get this Error on Wordpress, mind you it was working perfectly fine before.

    RangeError: Maximum call stack size exceeded at invoke_iii (https://

    Even disabling the stuff in Hierarchy and deleting everything but Directional Light and Camera makes it not work. It works on localhost and Exe but no longer WebGL. I wanted to use Prefabs so I don't have to keep rebuilding but realizing how it doesn't work anymore kind of sucks.

    I'm on Unity 2023.1.0.
     
  2. antdx3163

    antdx3163

    Joined:
    Dec 3, 2019
    Posts:
    35
  3. antdx3163

    antdx3163

    Joined:
    Dec 3, 2019
    Posts:
    35
    even the exe doesn't work..

    edit: moving the files inside to a new canvas fixed it but webGL still does not work
     
    Last edited: Feb 28, 2023
  4. antdx3163

    antdx3163

    Joined:
    Dec 3, 2019
    Posts:
    35
    actually it works now, relocating with a cut paste to a new canvas fixed it all

    seems like there is a huge underlying problem with Canvas that I had to figure out after it super broke on exe and even playing the game in Unity Editor, putting new buttons and sliders did nothing but doing a new canvas made it work because I disabled the other one that was broken : )