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

Need help troubleshooting WebGL stuttering behavior after upgrade from 2019.1.1 to 2019.3.8

Discussion in 'Web' started by dansav, Apr 8, 2020.

  1. dansav

    dansav

    Joined:
    Sep 22, 2005
    Posts:
    510
    Since upgrading from 2019.1.1 to 2019.3.8 I've run into some really weird webgl stuttering but only on certain parts of the scene. The project works fine in the editor and the stuttering only occurs in WebGL

    Parts of the scene run fine at normal speed. I have a mouse that controls a configurable joint angle. The mouse moves at the correct speed and the numbers change in real time.
    The configurable joint angle changes are in a fixedupdate and stutters onscreen at intervals from 5-30 seconds.

    Could this be some memory issue?
    Something to do with the physics update?
    Some sort of timing issue?

    How do I troubleshoot this sort of thing in WebGL. It works fine in the editor.