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 Inspector too slow in 2020.2

Discussion in 'Editor & General Support' started by calpolican, Jan 11, 2021.

  1. calpolican

    calpolican

    Joined:
    Feb 2, 2015
    Posts:
    425
    I have a few managers that show several lists of serealized classes. Some have other nested serialized classes too. Showing them was always a bit slow, but has become super slow after updating to 2020.2. Unity may freeze for a few seconds, and lag badly when you try to navigate trhough the values. Viewing this inspector ingame is much worse, and can even cause a memory leak and a unity freeze that can only be stopped by ending the task.
    This wasn't there in the previous version of Unity, and I suspect it's related to the new feature that allows you to rearrange the elements within a list in the inspector.
    I do have a few things that may slowing the process, like custom property drawers to hide variables if a boolean is off, and such. But it use to work much better in every previous version, and now is leading to inestability.
     
    Last edited: Jan 11, 2021