Search Issue Tracker

Fixed

Fixed in 5.2.7, 7.0.10, 9.0.2, 10.0.0

Votes

1

Found in [Package]

7.0.9

8.0.5

9.0.1

10.0.0-pre.2

Issue ID

DANB-344

Regression

No

IKEditorManager.Initialize is called when the EditorApplication.hierarchyChanged event is invoked

Package: 2D Animation

-

Reproduction steps:
1. Open the attached project “IKEditorRepro”
2. Open the “Assets/SampleScene” scene
3. Open Window → Analysis → Profiler window
4. Change Profiler mode to “Edit Mode”
5. Enter Play mode
6. Press the “Space” button multiple times
7. Stop recording in the Profiler window
8. In the Profiler search type “IK”
9. Look for “UnityEditor.U2D.IK.IKEditorManager.Initialize” call

Expected result: “UnityEditor.U2D.IK.IKEditorManager.Initialize” is only called once
Actual result: “UnityEditor.U2D.IK.IKEditorManager.Initialize” is called every time the “Space” button is pressed

Reproducible with: 7.0.9 (2021.3.16f1), 8.0.5 (2022.1.24f1), 9.0.1 (2022.2.3f1), 10.0.0-pre.2 (2023.1.0a26)
Not reproducible with: 5.2.6 (2020.3.44f1)

Reproducible on: macOS 13.1 (Intel)

  1. Resolution Note (fix version 9.0.2):

    Fixed in 2D Animation 9.0.2

Comments (1)

  1. xuwilliam01

    Jan 20, 2023 04:04

    Issue related to animations causing editor lag observed in 2020.3.44f1 (Based on EDITORAPPLICATION.HIERARCHYCHANGED)

    I've updated my forum post and tagged the dev @Ted_Wikman that originally responded.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.