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

Bug Performance Regression | 2020.3 -> 2021.2 : 60 -> 30 fps

Discussion in 'Web' started by matt_cauldron, Jan 18, 2022.

  1. matt_cauldron

    matt_cauldron

    Joined:
    Dec 17, 2021
    Posts:
    48
    Hello,

    Comparing builds of the same project on unity 2020.3 agaisnt 2021.2

    There are two meshes, both using the standard unlit textured shader in the built-in render pipeline.

    In 2020.3.25 can easily achieve vsync, <16ms per frame , 60fps full screen
    u_2020_webglperf.gif


    In 2021.2.8 perofrmance is significantly worse, dropping down 34-37ms per frame, 25-30fps full screen
    u_2021_webglperf.gif

    Reported as https://fogbugz.unity3d.com/default.asp?1395959_1300b0eokb03hfbm
     
    Last edited: Jan 18, 2022
    DannyWebbie and KamilCSPS like this.
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Looks like a bug for sure. You wouldn't have time for a case number would you? It looks like a regression of some sort.
     
    matt_cauldron and KamilCSPS like this.
  3. matt_cauldron

    matt_cauldron

    Joined:
    Dec 17, 2021
    Posts:
    48
  4. vvvvalentin

    vvvvalentin

    Unity Technologies

    Joined:
    Nov 11, 2015
    Posts:
    4
    Have you tried running this example in Chrome or Firefox?
     
  5. matt_cauldron

    matt_cauldron

    Joined:
    Dec 17, 2021
    Posts:
    48
    Hello, yes the performance drop is present in chrome and Firefox, it's not specific to Safari.
     
  6. matt_cauldron

    matt_cauldron

    Joined:
    Dec 17, 2021
    Posts:
    48
  7. matt_cauldron

    matt_cauldron

    Joined:
    Dec 17, 2021
    Posts:
    48
    Based on QAs findings it appears the regression was introduced between 2021.2.0a21 and 2021.2.0b1