Search Unity

Question Perfomance Dips when deactivating GameObjects with 2D Package installed

Discussion in 'Editor & General Support' started by CenkPaintbucket, Aug 3, 2022.

  1. CenkPaintbucket

    CenkPaintbucket

    Joined:
    Aug 3, 2022
    Posts:
    3
    We are having issues with perfomance drops. They happen each time any GameObject gets enabled/disabled.
    This is a deep profile of the Edit Mode.
    upload_2022-8-3_17-59-26.png

    It seems like having more Objects loaded increases the effect.
    We have already found out that removing the 2D package would fix this issue, as IKEditorManager.Initialize() is run for some reason. But this is not really a solution for us right now, as we are currently dependend on it's functionality.

    To recreate this issue we're toggling an otherwise empty GameObject without children at the top of our scene by code. This issue occours in 2021.3.0f1 and 2021.3.6f1 from my personal testing.

    Is there anything we could do to fix this?
     
  2. CenkPaintbucket

    CenkPaintbucket

    Joined:
    Aug 3, 2022
    Posts:
    3
    Bump, still could not find a solution! :(